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

Forums

OverviewFelgo 1 Support › Translating your app

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5474

    Christian
    Felgo Team

    Hi, I just added an English translation to my “Blitzkopf game”.

    It’s already available here in two languages (as soon as the update 2.1 is rolled out by Google Play): https://play.google.com/store/apps/details?id=at.fhooe.mc.blitzkopf (multiplayer mode will be added later)

    I experienced some oddities about translation and language changes (on my Android phone):

    I have locale “de” for German and “en_EN” for English which is said to be used as default in the documentation (btw. en_EN makes no sense? because EN is not a country? shouldn’t the default be just “en”?)

    What I did:

    – Phone is set to English

    – Install app

    – App starts in English

    – Set phone language to German

    – Restart app (even completely killed it in task manager), app is still English

    – Reinstall app -> app is now German

     

    Is this intended behaviour? Because when you restart the app it should change the language as well I think…

     

    Cheers, Chrisu

    #5475

    David

    Hi Chrisu,

    nice addition to the game! I’m looking forward to the update! (:

    The main idea behind our translation engine is that, on the contrary to “business” apps where you normally use the system’s language, the game should provide it’s own language selection dialog as it is State-of-the-Art in Games and helpful on desktop games. The behavior you describe is the normal way which we already state here https://felgo.com/developers/forums/t/translation-problems-on-android/. However, we will investigate the story and provide an additional flag to change the behavior in a future update.

     

    “en_EN” is introduced as en_EN.ISO8859-1 which stands for english_EnglishNormalized (http://en.wikipedia.org/wiki/ISO/IEC_8859-1)

     

    Cheers,

    David

    #5480

    David

    Hi again,
    The new flag has been added and 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

    #5495

    Christian
    Felgo Team

    Ah, I get it, thanks for the explanation and for implementing that extra flag 🙂

Viewing 4 posts - 1 through 4 (of 4 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