Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › Translation problems on android

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #5108

    Heini

    Hi,

    now i translated all the strings in my game and named the qm-files like described in the documentation. Running the game on windows and iOS, everything works fine and the strings are displayed in the required system language. But on Android the strings are still displayed in the standart language (in my case english) and are not getting translated.

     

    Heini

    #5109

    Alex
    Felgo Team

    Hi Heini,

    on which device and which Android version are you testing?
    Cheers, Alex

    #5111

    Heini

    Hi Alex,

    i am using a Galaxy Ace with Android 2.3.x. (2.3.2 i think)

     

    Greetings

    Heini

    #5112

    Alex
    Felgo Team

    Hi Heini,

    thanks for bringing this up, we found (and fixed 😉 ) a bug where the system locale was not set correctly on some Android versions. Translation on Android should work again with the upcoming Felgo version 1.4, shipping at the beginning of next week.

    Cheers,

    Alex

    #5123

    Heini

    Hi Alexes 😉

    now i realized, that even on iOS something is not going round:  now on iOS always the german qm-file is getting loaded, no matter what language is selected in the OS settings.

     

    Greetings

    Heini

    #5124

    Alex
    Felgo Team

    Hi Heini,

    the translation system is currently designed to use the system language only as initial language for the first app start. For future runs the initial language is saved in the game’s settings (settings.language) and can for example be overridden in your own language selection scene.

    For your test you have to deinstall and then install the app again after changing the device’s language. We can however add a flag somewhere in our items if you find it useful to always use the current system language instead of saving the selection for later usage.

    Cheers,

    Alex

    #5191

    Heini

    Hi Alex,

    reinstalling the game worked.

    For the moment my game is in english only and I plan to publish an update with german and italian language support. So after updating the game to new version with multilanguage support, for my users the game will start in their current system language? I mean, because the settings database will not be overwritten by installing an update. So at the first gamestart after apdating, the settings.language will be read from database and because it will be “undefined” it will be set to the current system language, is that correct?

     

    Greetings

    Heini

    #5192

    Alex
    Felgo Team

    Absolutely correct! 😉 As already stated our translation module is currently designed to provide a dedicated language selection dialog in your game but we can surely add a flag to always use the system language if this option is more convenient, thanks for your input.

    Cheers,

    Alex

    #5481

    David

    Hi Heini,
    As requested again today again (https://felgo.com/developers/forums/t/translating-your-app/#post-5480) we managed finally to add the new flag so the system language is loaded properly and it can be called somewhere in the Component.complete of the main window/scene:
    translation.useSystemLanguage = true

    If the app was installed before with the old system the user needs to restart the app once to clean the settings memory. With a clean installation it will work properly from the first time using the new flag.

    The new flag will be shipped with the next daily update!

     

    Cheers,

    David

Viewing 9 posts - 1 through 9 (of 9 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded