Update French (Canada) and Japanese translations - #431
Conversation
| "Chapter name is required": "Le nom du chapitre est requis", | ||
| "Chapter {order}": "Chap\u00eetre {order}", | ||
| "Check Your Email": "V\u00e9rifiez votre courriel", | ||
| "Check the box to remove %(count)s flag.": [ |
|
@OmarIthawi I skimmed over one of the files and see what look like three cases: For the english expression, is that always singular? |
|
Thanks @johnbaldwin.
So, not really. The file has been generated by a script. Looking at the corresponding JavaScript-based functions: edx-platform/cms/static/js/i18n/ar/djangojs.js Lines 8 to 15 in f1cc004 edx-platform/cms/static/js/i18n/ar/djangojs.js Lines 1947 to 1954 in f1cc004 The English plural form exists in the source: So it looks like, unlike the That's what I think, please let me know what do you think? |
johnbaldwin
left a comment
There was a problem hiding this comment.
@OmarIthawi Honestly, I would need to dig into the translations code to understand how it handles pluralization. I'll accept your explanation on English -> Arabic pluralization
|
Thanks @johnbaldwin, it's literally just the two function above ☝️ Yes, there's a lot of more context and tooling around this to get to those functions, but that's what the user needs on their browsers to be able to see Arabic (and other languages) for the JavaScript strings. |
I've done the following:
$ paver i18n_robot_pullThis is mainly to resolve a couple of PSAC reported issues.