Building Mobile Enterprise Applications : webMethods Mobile Development Help : Creating and Building a Mobile Application : Configuring supported Languages : Setting the Default Language for the Project
Setting the Default Language for the Project
Mobile Development can create localized mobile applications. You designate one language that your project supports as the default. Your application uses the default language when no specific language is selected.
When you generate sources for a Mobile Project, Mobile Development generates text resource files for the text fields in the Mobile Project. Although Mobile Development maintains a text resource file for each language in the Mobile Project, it only includes text values in the text resource file for the default language. For more information, see Text Resources that Mobile Development Creates for a Project. For information about working with languages that are not the default, see Specifying Values for Non-Default Language Text Resources.
Note:  
When you switch the default language to another language and then generate sources for the project, Mobile Development does not clear or update values in the text resource file of the former default language. Mobile Developmentonly updates and/or adds values to the text resource file associated with the default language.
To set the default language for the project
1. Ensure the Mobile Project is displayed in the Outline Editor. For instructions, see Displaying a Mobile Project in the Outline Editor.
2. In the Model section of the Outline Editor, expand the project so that you can view the top-level child node that represents the root application for the project.
3. Select the root application node.
4. In the Properties section of the screen, select the language you want to use from the list in the Default Language property.
This list is populated with all the languages that your application supports. In other words, languages you have added to the Languages container node in the model.
Tip:  
To update the information that Mobile Development generates for the project so that your changes are represented in the generated text resources, save the project and regenerate sources. For instructions, see Generating Sources for a Mobile Project.
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback