Start app in a different language with different locale settings

  1. 4 years ago

    Horst J

    29 Jun 2015 Pre-Release Testers, Xojo Pro Answer Europe, Germany, Stuttgart

    As a developer we must test our applications in different languages. There are some tools available to do this. If your app is working with numbers and currencies you want also have the default number and currency formats for the selected language, not only the GUI. You can change the language and the locale settings (number and currency) in the Mac OS X settings, but these are to many steps. You can use the command line in a terminal to start an app in a different language, or you can use my tool "Açana App Language".

    1. Command line in terminal:
    Language in English and Locale settings, currency in British £
    /Applications/<YourApplication>.app/Contents/MacOS/<YourApplication>' -AppleLanguages "(en-US)" -AppleLocale "en-UK"&

    Language in German and Locale settings, currency in €
    /Applications/<YourApplication>.app/Contents/MacOS/<YourApplication>' -AppleLanguages "(de-DE" -AppleLocale "de-DE"&

    2. Use "Açana App Language"
    Start "Açana App Language", drop your app, select a language and a region and double click on the app icon

    -image-

    -image-

    -image-

    "Açana App Language" is only for Mac OS X and it is free to use for all people (developer and customer). You can download it here:
    «Açana App Language»

  2. Sascha S

    29 Jun 2015 Pre-Release Testers, Xojo Pro Germany, Lower Saxony
    Edited 4 years ago

    Thank you @Horst J

    If i am allowed to recommend changes, you should autoselect the first entry or current locale right after your PopUpMenu of detected languages has been filled and can you make your App please AutoQuit? :)

    I made a few tests:

    If no locale or region is selected, the following message appears on launch of the selected App:
    -image-

    If no App has been dropped into the canvas and you double click on the canvas, a NOE occurs:
    -image-

    If you try to use Acana with Acana, the following message is shown:
    -image-

    Same Apps do not show any language. "A Better Finder Attributes 5" f.e.:
    -image-

  3. Horst J

    29 Jun 2015 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    Please check the new release 1.0.1

    Popup menus doesn't have a default selection. If no language and no region is selected, the app start with your system settings. If a language is selected and no region, the app starts in the selected language with your system region. If only a region is selected and no language, the app starts with the selected region and your system language. Now application auto quit is activated.

  4. Sascha S

    29 Jun 2015 Pre-Release Testers, Xojo Pro Germany, Lower Saxony

    It still crashes when you double click on the app canvas, before you have dropped any app on it.

  5. Horst J

    29 Jun 2015 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    Fixed in release 1.0.2

  6. Sascha S

    30 Jun 2015 Pre-Release Testers, Xojo Pro Germany, Lower Saxony

    Thank you @Horst J

    I just donated via PayPal from your Website. After the donation the user is redirected to http://www.pps4me.de/success , which does not exist. ;)

  7. Horst J

    30 Jun 2015 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    Thanks for the donation and the missing page. I will correct this.

  8. Horst J

    6 Jul 2015 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    New release 1.0.3 is available. For more information click here

  9. Paul S

    7 Jul 2015 Pre-Release Testers, Xojo Pro Europe (Netherlands, Den Haag)

    The choices of 'Available Regions' are in German although I'm using Dutch.

  10. Horst J

    7 Jul 2015 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    It is available in English and German language and the default is English. Okay, I will check this later today.

  11. Sascha S

    7 Jul 2015 Pre-Release Testers, Xojo Pro Germany, Lower Saxony

    I think you just need to make sure that in your Build Settings, the default Language is also English :)

  12. Horst J

    7 Jul 2015 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    New Release 1.0.4 is out. Fix the "Region" popup menu. For de, at, ch it is in German language and for all other it is English.

  13. Horst J

    7 Jul 2015 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    New Release 1.1.0 is out. Now include an update checker (Kaju Updater).

  14. 2 years ago

    @SaschaSchneppmueller I think you just need to make sure that in your Build Settings, the default Language is also English :)

    The Build language set to English.

  15. Horst J

    4 May 2018 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    Açana App Language
    New Release 1.3.0
    Features:
    • Update feature added (without Kaju)
    • New dark layout
    • Menu for recent used apps added

    Download: Açana App Language

  16. Jean-Yves P

    4 May 2018 Pre-Release Testers, Xojo Pro Europe (France, Besançon)
    Edited 2 years ago

    -image-

  17. Horst J

    4 May 2018 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    Wait a moment. I will check it.

  18. Sascha S

    4 May 2018 Pre-Release Testers, Xojo Pro Germany, Lower Saxony

    32Bit's on a mac? ;)

  19. Horst J

    4 May 2018 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    I have uploaded a new version. Please try the new one.

  20. 8 months ago

    Horst J

    19 Mar 2019 Pre-Release Testers, Xojo Pro Europe, Germany, Stuttgart

    If you would test your application in different languages in debug mode with Xojo, you can set these options in section "Debug => Command Line Arguments"

    Example: Language German, Region Switzerland
    --args -AppleLanguages "(de)" -AppleLocale de-CH

    Example: Language Portuguese, Region Brazil
    --args -AppleLanguages "(pt)" -AppleLocale pt-BR

    To start any application in different languages and region, you can use Acana App Language release 1.4.0

  21. Newer ›

or Sign Up to reply!