You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 12, 2025. It is now read-only.
We would want to deploy localized versions of the app in major world languages. Similar to the setup we have for our core learning platform.
Additional Information
We can track the needs & user stories here in this thread;
Understand how strings are stored in the context of this project and implement the localization, for ex: we use react-i18n-next on the main learning platform.
Create and set up a Crowdin Project with the required configurations.
Create and set up the GitHub actions workflows to upload and download translations.
"[player_name]? What a coincidence! Our VIP team member {a=[vip_profile_url]}[player_name]{/a} will be honored to hear that."
Before translation
# game/script.rpy:92 <-- lock this line, it's a Python commenttranslate traditional_chinese start_after_interview_941d689f: <-- lock this line
# "[player_name]? What a coincidence! Our VIP team member {a=[vip_profile_url]}[player_name]{/a} will be honored to hear that." <-- lock this line, it's a Python comment"[player_name]? What a coincidence! Our VIP team member {a=[vip_profile_url]}[player_name]{/a} will be honored to hear that."<--- this is the line that needs to be translated. see translation below
After translation
# game/script.rpy:92translate traditional_chinese start_after_interview_941d689f:
# "[player_name]? What a coincidence! Our VIP team member {a=[vip_profile_url]}[player_name]{/a} will be honored to hear that.""[player_name]?好巧,我们的VIP队友{a=[vip_profile_url]}[player_name]{/a}会很高兴的。"
# game/screens.rpy:261 <-- lock this line, it's a Python commentold"{icon=icon-fast-forward} Skip"<-- lock this line, it's the original text new "{icon=icon-fast-forward} Skip" <-- translate this line, see below
# game/script.rpy:14translatesimplified_chinesestart_1b5d8b8d:
# "Hi there. Thanks for applying to our software engineering role!"""
So looking at the localisation branch, the files are pre-populated with empty strings. Can they be prepopulated with the English text instead? Otherwise this creates issues with Crowdin's translation memory.
@nhcarrigan Hi Nick. Thanks for the hard work and sorry for the repeated ping 😅
I saw some issues with the Crowdin translation: Some strings that should be translated aren't marked as so (important), and some strings that aren't translatable are marked as translatable (not too important).
The strings that should be translated but aren't marked as so are narrations that don't have a speaker prefix
The strings that aren't translatable but are marked as translatable are the # TODO comments at the beginning of each file
I'll take a look at this over the weekend and see if I can get the issue resolved. For now, to maintain our goal of translating this before the Chinese new year, I'm thinking we should go ahead and make the crowdin project public to allow people to start translating the other files. What do you think?
Activity
RuolinZheng08 commentedon Jan 7, 2022
Git branch to spike on: https://github.com/freeCodeCamp/LearnToCodeRPG/tree/localization
tlfolder: https://github.com/freeCodeCamp/LearnToCodeRPG/tree/localization/game/tlgame/tlon the branch that Crowdin is pushing and pulling from so that the original scripts that end in.rpy(ex. https://github.com/freeCodeCamp/LearnToCodeRPG/blob/localization/game/gui.rpy) don't get ported into CrowdinEx.1
LearnToCodeRPG/game/tl/traditional_chinese/script.rpy
Line 61 in 351f260
Before translation
After translation
The
[]and{}tags should be left intact.Ex.2
LearnToCodeRPG/game/tl/traditional_chinese/screens.rpy
Line 15 in 351f260
Before translation
After translation
Again, the
[]and{}tags should be left intact.naomi-lgbt commentedon Jan 7, 2022
So looking at the localisation branch, the files are pre-populated with empty strings. Can they be prepopulated with the English text instead? Otherwise this creates issues with Crowdin's translation memory.
raisedadead commentedon Jan 8, 2022
Yes - we would need that done ahead of time before we push files to Crowdin.
RuolinZheng08 commentedon Jan 9, 2022
@nhcarrigan @raisedadead
Hi Nick and Mrugesh,
Here's the pre-populated source folder:
https://github.com/freeCodeCamp/LearnToCodeRPG/tree/localization/game/tl/english
Let me know if you'd like me to add anything else. Thanks!
RuolinZheng08 commentedon Jan 15, 2022
@nhcarrigan Hi Nick. Thanks for the hard work and sorry for the repeated ping 😅
I saw some issues with the Crowdin translation: Some strings that should be translated aren't marked as so (important), and some strings that aren't translatable are marked as translatable (not too important).
# TODOcomments at the beginning of each fileSee
script.rpyon Crowdinnaomi-lgbt commentedon Jan 15, 2022
Hey @RuolinZheng08,
I'll take a look at this over the weekend and see if I can get the issue resolved. For now, to maintain our goal of translating this before the Chinese new year, I'm thinking we should go ahead and make the crowdin project public to allow people to start translating the other files. What do you think?
RuolinZheng08 commentedon Jan 23, 2022
Just dropping screenshots of Crowdin so I can refer to those in other PRs
Line to be translated:
Crowdin chopped it into three parts:
Yelinz commentedon Jan 29, 2024
Hey its been a while since the last activity and was wondering if the translation effort was abandoned?