Introducing Crowdin translations versioning
Previously, adding new translations to crowdin meant rebuilding the entire app each time, which was time-consuming and impractical. Now, with the release of TIXNGO back-office led crowdin synchronization feature, we're making things a lot easier.
What does this mean for you?
By introducing the sync and versioning of crowdin translations directly from TIXNGO back-office, you have now access to an easy and convenient way to switch from one translation set to another, without requiring a new build.
Prerequisites
Enable (if not enabled yet) the Application Feature "Dynamic load from Crowdin" (key: enable-crowdin-sync)
Selecting the target version
By accessing the application settings « Target translation version will be applied to ticket app » (key: mobile.app.translations.target-version), you will see the selected target version of crowdin translation.
Before changing target version:
Changing target version
By clicking on the Edit button and using the drop-down list, you'll see the list of all already synced translations build. By selecting an existing version and clicking "Apply", this new version will be defined as target. |
After target version changed
Getting crowdin latest translation
From the mobile.app.translations.target-version edit screen, click the sync button
TIXNGO will query and checks if a new crowdin project build is available.
- If the version has been already synced, there is nothing left to do.
- If a new crowdin translations build is available, TIXNGO will download it and store its metadata (version, build date, sync date, path) to be reused in the drop-down list and ease target version selection.
Wallet behaviour
We can now load translations dynamically directly from the app, on the fly. In simpler terms, spectators will always see the latest translations without needing to rebuild or update their app.
- If mobile.app.translations.target-version is null or empty (ie you did not started to use this feature yet), the branded wallet will use the local translation file
- If mobile.app.translations.target-version is set and not equal to the current version on the mobile app, the branded wallet will
- Initiate the download of translations file
- Change the current version information on the mobile side, if the download is successful.
- Otherwise, if mobile.app.translations.target-version equal to the current version, the file won't be downloaded.
How to activate this feature ?
An extra configuration is required to associate the mobile app to the crowdin project used, in order to allow you to manage crowdin versions directly from TIXNGO back-office.
To use this feature
For existing TIXNGO client, please submit a service case to request the activation of this feature.
© TIXNGO 2023 - Login