Hybrid View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    175
    Vote Rating
    9
    huberte will become famous soon enough

      0  

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

  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
    99
    jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice

      0  

    Default


    Maybe this thread will help you

  4. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    175
    Vote Rating
    9
    huberte will become famous soon enough

      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
    99
    jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice jerome76 is just really nice

      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
    175
    Vote Rating
    9
    huberte will become famous soon enough

      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
    175
    Vote Rating
    9
    huberte will become famous soon enough

      0  

    Default


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