-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve strategy for internationalization of MFEs #205
Comments
Thanks for your submission, @openedx/open-edx-project-managers will review shortly. |
@arbrandes If l10n settings are loaded through an API call, we would then solve any l10n pain points above from the root. Changes to
|
Adding a pre-existing BD-49 discovery doc @jmakowski1123 pointed out: https://docs.google.com/document/d/1-q0yeq9MUpbylO5uIl_LFJJBPR6sNgmX1zXbeyoFRvw/edit It makes me think that this is a good potential candidate for tCRIL-funded development. |
@ARMBouhali, those are all great ideas. We should work with @Carlos-Muniz on the backend, in particular regarding:
This is something he's already working on, via a new OEP (OEP-58). Care to take a look? As for MFE runtime configuration: we'd theoretically want to take advantage of that endpoint for the translation APIs. |
Evgen at RacoonGang has questions and a proposal as well: https://discuss.openedx.org/t/language-settings-unconsistency/8466 |
@arbrandes The doc mentioned in your comment is not public. Could you please open it to become public or share the doc's summary and those great ideas in this thread? )) |
@idegtiarov, done! Not sure why it was private in the first place. |
@arbrandes thanks! |
@brian-smith-tcril, the Translation Working Group needs help streamlining the MFE i18n/l10n process. I figure this is a good next step for you, and it will be very useful to the community. Would you be willing to take this epic on, starting this sprint? What does that entail, you might ask? As you'll see from the issue description, the specifics are still unclear, so initially it's all about discovery. The following is a good place to start: Getting in touch with @Carlos-Muniz would be a good starting point as far as community coordination goes, and I'm of course available as well. We should probably schedule a kickstart session early in the week. |
I'm not sure what exactly you're envisioning for this API. I feel like it makes sense to have most of this set at build time, so if the API is set up to provide this data at build time that could make sense. If you could elaborate on how you see this API being used, that could go a long way towards helping me get a clearer picture of what you're describing here.
I completely agree we should get the i18n json files out of the MFE repos. I could see this working in a couple different ways. I was thinking we could utilize https://github.com/openedx/openedx-atlas to pull in translation
This is already happening! Aside from the tagging for release part, there is a github action set up on https://github.com/openedx/openedx-translations that:
and then the transifex github app pulls from the files in that repo (using https://github.com/openedx/openedx-translations/blob/main/transifex.yml for config) this is still a work in progress, and is currently connected to a sandbox environment on transifex
I'm curious as to how much refactoring this would require on each MFE. Are languages added/updated enough that we should decouple it from running a build?
I'm curious about the override use case. My first thought is that a fork wouldn't be the worst way to handle it, but I see how having a "patch style" way to handle overrides could be useful. Overall these are some great ideas! I'd love to hear any more you have as we work towards improving the translation architecture! |
not sure where to put this but i figure a comment on the epic works concerns were raised about i18n linting (ensuring pluralization etc. is handled correctly in source translation strings) as part of the CI process in this comment on OEP-58 it's not clear what the current strategy for this is, and if there is any consistency across repos. this is definitely a place where some discovery should be done |
I'm leaving this in the FWG backlog for us to revisit once the current work on i18n is complete. |
Motivation
There are a series of pain points currently identified by the community when it comes to i18n and l10n of MFEs:
Open questions
Action items
Makefile
wg-frontend#119Misc
This issue is also tracked in the TWG Trello Board
The text was updated successfully, but these errors were encountered: