Multilanguage Demo

  • Imprimir
Este artigo ainda não foi traduzido.

In this example for AutoPlay Media Studio, I show how to exchange the text of various objects on the pages of a project, allowing to change the language of the whole application on-the-fly. This is a pretty complete project, however not all objects and plugins available for AMS are supported. Once you understood how easy it is to perform these tasks, you will be able to implement any missing elements you may need.

 

 

This demonstration project shows how to display text in:

  • English
  • Arabic
  • Spanish
  • French
  • Russian
  • German
  • Turkish
  • Portuguese
  • Italian
  • Greek
  • Thai
  • Korean
  • Romanian
  • Danish
  • Traditional Chinese
  • Hungarian
  • Czech
  • Hebrew
  • Japanese
  • Croatian
  • Polish

If you wish to add other languages, not shown in this demo, you might need to set the proper font script (charset). You can find a list of valid codes in the table below. For example, if you wish to display text in Japanese, you need to set the charset to 128, or if you need to show text in Croatian, the charset must be set to 238 (Central European).

LanguageCharsetEncodingRemark
Default (Latin)0iso-8859-1, windows-1252 
Japanese128windows-932, shift-jis 
Korean (Hangul)129windows-949, euc-kr 
Korean (Johab)130windows-1361 
Chinese (Simplified)134windows-936Used in People's Republic of China
Chinese (Traditional)136windows-950Used mostly in Taiwan, Hong Kong and Macao
Greek161windows-1253 
Turkish162windows-1254 
Vietnamese163windows-1258 
Hebrew177windows-1255 
Arabic178windows-1256 
Baltic186windows-1257Used in Northeastern Europe
Russian204windows-1251 
Thai222windows-874 
Eastern Europe238windows-1250 

 

This demonstration uses the Language actions plugin. You can download it here.

Download

Source code (*.apz)

Click to downloadFile size: 200 KB
Updated: March 2012

Completed demo project (*.exe)

Click to downloadFile size: 3.69 MB
Updated: March 2012

 

It should be very easy to understand how this sample works. Each XML file containing the language strings to be used in the objects on the page contains a simple structure to organize the texts, as shown in this image:

Don't have AutoPlay Media Studio?

If you want to purchase a license for AutoPlay Media Studio 8, now is a good time! You can get 10% off the list price simply by clicking the banner below:

 

Our Plugins & Examples Feed

  • POP3 Actions plugin released

    A new, free actions plugin was released today. With it, the developer can check POP3...

  • Reminder: Update Serial Number Validation and/or Subscription Validation

    Next week IPInfoDB's API 2.0 will stop working. If you use an older version than...

Subscribe now!

Advertisement