Translation for user created content in Tutorial/Project #893
frozenhelium
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
User created content like project, tutorial cannot be translated using the current processs through transifex.
We need a mechanism to define and use translations for these content.
We are proposing a simple feature that allows translation of these content through the manager dashboard.
What should be translated?
Project
Tutorial
How?
We define a set of supported languages for translation in the manager dashboard.
This set of languages should be the same as the set of languages supported in the app.
(https://github.com/mapswipe/mapswipe/blob/e6aa52d645665c3b00d1b251ae06480427265239/src/shared/constants.js#L64)
Changes in Manager Dashboard
The format for the import/export for a tutorial is detailed below:
Similarly, we can also support translation of project.
Note:
Changes in Firebase
translations/tutorial/<tutorial_id>/<language_code>
The structure for the translations is similar to the structure of the tutorial
Structure of tutorial
Structure of translations for tutorial
Changes in App
Changes in Website
To show the translated content of the project in the project page, we will also require changes to the database and the api server.
Beta Was this translation helpful? Give feedback.
All reactions