Results 1 to 3 of 3

Thread: Bug with Ext.msg.Confirm and Translation/Localisation

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-5352 in a recent build.
  1. #1

    Default Bug with Ext.msg.Confirm and Translation/Localisation

    Ext version tested:
    • Ext 4.1.0 Beta 2

    Browser versions tested against:
    • FF 10.0.1
    • Chrome 17

    DOCTYPE tested against:
    • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

    • When using confirmation dialogues with Ext.Msg.confirm() having a foreign language file included (e.g. ext-lang-de.js) the buttons are only translated on the very first dialogue after page refresh. At any point later, there are english buttons with Yes/No...

    Steps to reproduce the problem:
    • Create an Ext.Msg.confirm('Title:','Question:')
    • include ext-lang-de.js in your app
    • show the confirmation dialogue after page refresh (F5) and again after having it shown once

    The result that was expected:
    • correct translation / localisation every time the dialogue is shown.

    The result that occurs instead:
    • english buttonText instead of included language

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    What Ext JS script are you using? If you are using one of the all builds then this should work but if you are using one where you are dynamically loading classes then this file won't affect it as the class has to be loaded before this override file is loaded.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

  3. #3


    I am NOT using the new class loading system / bootstrap....
    I am just including ext-all.js and the lang-file in this order:

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

Posting Permissions

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