PDA

View Full Version : Localization in Sench Touch



Buckeye
9 Feb 2011, 9:57 AM
Hello,

I found this article talking about localization in Ext.Js:

http://www.sencha.com/learn/Tutorial:Localizing_Ext

But I could not apply the same method for Sencha Touch. First of all, there is no locale files at:

\src\locale\...

Then, I copied locale file from Ext.JS:

\ext-3.3.1\src\locale to \SenchaTouch\src\locale

and added following Japanese locale to my file to test Datepicker:


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

But nothing was changed for the Datepicker. No translation of GUI and no date format change.

Could anyone please give me a clue how to make this work?

Thank you!

Buck

gakaki
28 Aug 2011, 9:21 PM
Ext.override can do this tood

Ext.override(Ext.picker,{
'doneButton':'quewqeqewqewqewqeqwewqe',
'cancelButton':'canceladsfadsfafadsffads'

})