Today we'll learn how to internationalize our bada apps.
i18n = internationalization - means of adapting computer software to different languages, regional differences and technical requirements of a target market. Internationalization is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. The terms are frequently abbreviated to the numeronyms i18n (where 18 stands for the number of letters between the first i and last n in internationalization, a usage coined at DEC in the 1970s or 80s).
Figure 3. Right click and choose Language Setting. Here you'll select the languages that your app will give support.
Figure 4. Add the languages that your app will give support
Figure 5. String table view will be updated with selected languages
Figure 6. Right click and choose "insert" to fill the table with internationalized content. I suggest you to use IDs with some pattern name. Example: IDS_CLASSNAME_VARIABLENAME
Figure 7. String table with a content example
Figure 8. You can just associate the contents, created in String tables, with any control (labels, buttons, ...)
If you need to internationalize any text that will not be constructed directly in any Form or Popup, you must insert the ID and content in String table and you can associate the created content to any control through code, as shown below:
Nenhum comentário:
Postar um comentário