Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [solved]Nav view back button translation

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    177
    Vote Rating
    9
      0  

    Default 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)

  2. how about this
    Code:
    config: {
        title: 'Home',
        iconCls: 'home',
        defaultBackButtonText: 'Retour'
    }
    for the config of the navigation view?

  3. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    100
      0  

    Default

    Maybe this thread will help you

  4. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    177
    Vote Rating
    9
      0  

    Default

    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 :
    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>
    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.

    thanks
    Last edited by huberte; 3 Oct 2012 at 7:11 PM. Reason: customize back button

  5. #4
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    100
      0  

    Default

    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?

  6. #5
    Sencha User
    Join Date
    Jul 2012
    Posts
    177
    Vote Rating
    9
      0  

    Default

    Quote Originally Posted by jerome76 View Post
    Are you talking about the back button from the NavigationView? Can you explain your project more?
    Yep

    Just want to

    1. Have another text in place of "back"
    2. or chosse another icon in place of the one from the navview

    I tried, but no luck in sass _buttons.scss

  7. #6
    Sencha User
    Join Date
    Jul 2012
    Posts
    177
    Vote Rating
    9
      0  

    Default

    It has been almost a month I tried everything I knew...

  8. #7
    Sencha Premium User
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    721
    Answers
    41
    Vote Rating
    46
      2  

    Default

    how about this
    Code:
    config: {
        title: 'Home',
        iconCls: 'home',
        defaultBackButtonText: 'Retour'
    }
    for the config of the navigation view?

  9. #8
    Sencha User
    Join Date
    Jul 2012
    Posts
    177
    Vote Rating
    9
      0  

    Default

    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.

  10. #9
    Sencha User
    Join Date
    Feb 2011
    Location
    Dsseldorf, Germany
    Posts
    594
    Answers
    35
    Vote Rating
    33
      0  

    Default

    iconCls:
    You need to have another Picto declared to make use of this.

    defaultBackButtonText:
    http://docs.sencha.com/touch/2-0/#!/...BackButtonText

  11. #10
    Sencha User
    Join Date
    Jul 2012
    Posts
    177
    Vote Rating
    9
      0  

    Default

    [QUOTE=Kurt001;910029]iconCls:
    You need to have another Picto declared to make use of this.
    /QUOTE]

    Sorry but how ?

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •