Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
farmOS community members have already begun experimenting with translating farmOS in 1.x, using the various contrib modules available for Drupal 7. Drupal 8 incorporated many of those features into core, and I would like to make localization a core component/consideration in farmOS 2.x moving forward.
Update: this issue is intended for tracking specific development tasks. For general discussion and strategy for the farmOS 2.x translation initiative, we have an official forum topic: https://farmos.discourse.group/t/farmos-2-0-translation-initiative/922
Remaining tasks
-
Documentation
- How to contribute translations (
docs/development/localization.md
) - How to host localized farmOS (
docs/hosting/localization.md
)
- How to contribute translations (
- Review strings to be sure we aren't going to make any major changes before translations are contributed.
- Consider how to use translations in Field Kit: https://github.com/farmOS/farmOS-client/issues/214
- ... (TBD)
Comments
Comment #2
m.stentaComment #3
m.stenta(updated description but put it in this comment by mistake - disregard this)
Comment #4
m.stentaSee the previous issue about localization in the 7.x-1.x branch: #2690051: farmOS Localization
Comment #5
m.stenta.
Comment #6
m.stentaComment #7
m.stentaComment #8
m.stentaComment #9
m.stentaComment #10
m.stentaUpdated issue description to link to the forum topic for general discussion: https://farmos.discourse.group/t/farmos-2-0-translation-initiative/922
And split the documentation task into development vs hosting.
Comment #11
m.stentaComment #12
m.stentaComment #13
m.stentaLet's also not forget to consider the
context
suggestion raised here: #3173969: farmOS Localization ContextComment #14
m.stentaLinking some upstream issues we might need to be aware of...
Comment #15
m.stentaSome discussion/debugging happening in https://github.com/farmOS/farmOS/issues/472
Comment #16
m.stentaMajor step forward! We just merged the new farmOS Localization module from this PR: https://github.com/farmOS/farmOS/pull/475
This includes: #3257430: Do not allow the default language to be changed from English
See those two links as well as https://github.com/farmOS/farmOS/issues/472 for more details/discussion.
I think the only remaining todo for this is to document how to contribute translations. Beyond that there will be an ongoing process of adding translations and fixing minor issues with code/config to make things translatable (eg: https://github.com/farmOS/farmOS/pull/477, https://github.com/farmOS/farmOS/issues/476, etc) but those can be tackled as they come up.
Comment #17
m.stentaI think we can remove the "stable blocker" tag from this. Things are happening - and they don't need to block a 2.0.0 release IMO.
Comment #18
m.stentaClosing this as "outdated". Work continues slow and steady...