-
3 Oct 2012 8:38 AM #1
Answered: [solved]Nav view back button translation
Answered: [solved]Nav view back button translation
Should we translate ext-lang-en.js ? Is there a way to use this file in our native language (Back button for example)
-
Best Answer Posted by ingo.hefti
how about this
for the config of the navigation view?Code:config: { title: 'Home', iconCls: 'home', defaultBackButtonText: 'Retour' }
-
3 Oct 2012 8:50 AM #2
-
3 Oct 2012 4:21 PM #3
Thanks but I did not get it...

Just want to have the back button in french, not mulitlanguage
And as far as I undertstand, I can't touch those lines to build the application in index.html :
EDIt: i there an easy way (I searched a long time here) to chnage the back button via sass ? For example : no text, but this icon : reply.png.Code:<!-- The line below must be kept intact for Sencha Command to build your application --> <script id="microloader" type="text/javascript" src="touch/microloader/development.js"></script>
thanksLast edited by huberte; 3 Oct 2012 at 7:11 PM. Reason: customize back button
-
4 Oct 2012 1:33 PM #4
You can customize a button to be an icon, or simply change the 'text' config property of the Ext.Button you create. Are you talking about the back button from the NavigationView? Can you explain your project more?
-
4 Oct 2012 5:19 PM #5
-
9 Nov 2012 6:39 AM #6
It has been almost a month I tried everything I knew...

-
9 Nov 2012 7:54 AM #7Sencha Premium Member
- Join Date
- Feb 2012
- Location
- Berne, Switzerland
- Posts
- 581
- Vote Rating
- 32
- Answers
- 34
how about this
for the config of the navigation view?Code:config: { title: 'Home', iconCls: 'home', defaultBackButtonText: 'Retour' }
-
9 Nov 2012 10:07 AM #8
Wow, thanks, did not read something about defaultBackButtonText. Where did you read about this ? In Architect ?
In my project title and inconcls are useless, I can't change the icon.
-
9 Nov 2012 5:01 PM #9
iconCls:
You need to have another Picto declared to make use of this.
defaultBackButtonText:
http://docs.sencha.com/touch/2-0/#!/...BackButtonText
-
9 Nov 2012 7:43 PM #10
[QUOTE=Kurt001;910029]iconCls:
You need to have another Picto declared to make use of this.
/QUOTE]
Sorry but how ?


Reply With Quote
