PDA

View Full Version : Multilingual application and Sencha Cmd



mado489
15 Jun 2013, 12:50 PM
Hi,
the example of localization does not explain how to build multilingual application when using Sencha CMD to build application. Result of executing sencha app build command is one big javascript file containing all (required) classes from framework followed by all custom classes for the application. If I understand it correctly, localization file with classes overrides (ext-lang-xx.js) has to be included after framework classes are included and before application classes are included. If my application is one language only it is easy, but how to do it if I want to have more languages. Do I have to make custom build for every language, containing all application code, or is there better way to do it? Thanks.

slemmon
17 Jun 2013, 11:22 AM
Yeah, you'll put the link to the localization file between the library file / bootstrap file and your app.js.
And you will create separate app builds for each language used.