Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Make Hunger Games multilingual #55

Closed
2 tasks done
Tracked by #234
teolemon opened this issue Jul 5, 2020 · 11 comments
Closed
2 tasks done
Tracked by #234

Make Hunger Games multilingual #55

teolemon opened this issue Jul 5, 2020 · 11 comments

Comments

@teolemon
Copy link
Member

teolemon commented Jul 5, 2020

Make Hunger Games multilingual by adding:

  • translation support for the User Interface
  • localized Robotoff question loading.
@alexfauquette
Copy link
Member

I saw there is a platform for translating OFF, should we integrate hunger games to this translation platform, or we just use an hand made json file per language ?

@raphael0202
Copy link
Collaborator

It would be better to integrate it to the translation platform in my opinion, as it is used across all the OFF projects.

@astagi
Copy link
Member

astagi commented Jul 8, 2020

I've opened a PR to add i18n #56

@teolemon
Copy link
Member Author

teolemon commented Jul 9, 2020

Great 👍

@teolemon
Copy link
Member Author

teolemon commented Jul 9, 2020

For Crowdin integration, you need to place a crowdin.yml file at the root of the repository

files:
  - source: /i18n/MY_SUPER_FILE.json
    translation: /i18n/%two_letters_code%/MY_SUPER_FILE.json

@astagi
Copy link
Member

astagi commented Jul 9, 2020

Thanks @teolemon I didn't know Crowdin, I'll add the required files to integrate it!

@astagi
Copy link
Member

astagi commented Jul 9, 2020

@teolemon PR updated with Crowdin integration. I made a file common.json containing all the labels translated to english, do you think is ok keeping common.json and en.json? At the moment they have the same content, I see that inside the openfoodfacts.pot file the translation is empty.

@alexfauquette
Copy link
Member

Is that just about adding the field lang in robotoff request for insights or am I missing something?

@teolemon
Copy link
Member Author

teolemon commented Feb 3, 2021

it should be it

@teolemon
Copy link
Member Author

@alexfauquette I believe this is fixed

@alexfauquette
Copy link
Member

Yes, there is some game that maybe need some cleaning, but the integration with crowding is here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants