Manage localization on module install (import locales first, default language)

Created on 8 September 2009, almost 16 years ago
Updated 18 June 2023, about 2 years ago

Currently, when installing new modules we first run the install script, then we do the locale import (see system_modules_submit())

But some modules need to create strings in the database when installing, like a content type or an input filter. So we'd need:

- To load the translations before running the module's hook_install()
- To do the installation using default language, so strings are created consistently in this language (even if the admin is using the module admin page in a different language)

πŸ“Œ Task
Status

Postponed: needs info

Version

9.5

Component
LocaleΒ  β†’

Last updated 4 days ago

Created by

πŸ‡ͺπŸ‡ΈSpain jose reyero

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Wonder after so many years and the current state of the langue module if this is still needed?

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Just following up if still a valid task, if no follow up in 3 months going to close out. Thanks

  • πŸ‡ͺπŸ‡ΈSpain jose reyero

    As the original reporter... though this has never actually been addressed, there are so many changes in the install system - like new strings being created mostly through configuration system - that this is not important anymore.

    So, closing it for good... unless, of course, someone wants to start working on it after these 14 years (!!) :)

Production build 0.71.5 2024