[Solved] how can i develop an Android application in Hindi language ? [closed]


It is done by storing values for text displayed in different resource files for each language.

Read this http://developer.android.com/training/basics/supporting-devices/languages.html

it shall solve your problem

The resource structure:

MyProject/
    res/
       values/
           strings.xml
       values-hi/
           strings.xml

Add the string values for each locale into the appropriate file.

At runtime, the Android system uses the appropriate set of string resources based on the locale currently set for the user’s device.

For example, the following are some different string resource files for different languages.

English (default locale), /values/strings.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="title">My Application</string>
    <string name="hello_world">Hello World!</string>
</resources>

Hindi, /values-hi/strings.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="title">कखग</string>
    <string name="hello_world">ककक</string>
</resources>

2

solved how can i develop an Android application in Hindi language ? [closed]