PDA

View Full Version : Default language



juanvelezs
23 Dec 2013, 11:21 AM
hello my name is Juan Vélez, I am developing a project in Colombia with Sencha Architec 3.0 and I need to translate all the components that are in default English to Spanish. Would you kindly tell me, how I can I do this process? is there any file I can translate, or what would be the best option in this case.


Thanks for your help,

wm003
27 Dec 2013, 12:24 AM
Any default component is already translated to spanish by using the locale file "ext-lang-es.js".

You can find it at folder "locale" (Ext 3.x -> build\locale, Ext 4.x -> locale) within the extjs framework folder

i am not using architect, but i guess the generated code afterwards can easily adjusted by that. Basically you just need to insert one codeline in your index.htm right after implementing ext-all.js


<script type="text/javascript" src="locale\ext-lang-es.js"></script>