ebmDevMag.com home
ebm Developer's Magazine
links

developer's mag
main page

article
part 1
part 2
part 3
part 4
part 5
part 6
part 7


7 - Some Guidelines

In conclusion, here are some tips to remember when writing software destined for multiple languages:
  • Allow more text space for non-English text - general estimates are about 50% more.
  • Write text that is easier to translate - simple words and concepts are best.
  • Be aware of culture-related items. For instance, the stop sign is different in various countries, and may not be useful for that reason as an icon.
  • The same applies for language - a classic example of this is the 'Nova', which in Spanish translates to 'no go' - not a good name for an automobile!
  • Avoid puns, double meanings, and other word play, as it rarely (if ever) translates well.
  • In English, various words can be used as both nouns and verbs - in other languages, these are often different words, and need to be translated as such.
  • Watch out for string handling - sorting, printing, and editing may change with different languages. One example in English is to use a sprintf to pluralize values:
      sprintf(buff,"%d item%s", count, ( 1==count ? "" : "s" ) );
    Converting a rule like this into another language can be problematic, and requires care to get it right.
  • Make use of built in classes for ease of localization. For instance, CTimeEdit adjusts for the language and time format, avoiding the need to code specific solutions.
  • Benefit from others' work. Besides the GUI_PACKAGE_NAME, you can also look up and reuse a number of pre-defined words and phrases in the OS package, making the translation effort much easier. The complete list of #defines is found at /franklin/SDK/sneak32/include/gui_pkg.h
The ebm enjoys a worldwide status, benefiting from Franklin's years of sales in foreign markets. Few other computers have shipped initially with so much multilanguage support, and so it's good to know that the world is ready and waiting for our multilingual code!

Previous Section


Copyright © 2001-2006 ebmDevMag.com - Legal Notice