Skip to content
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

Translation: remove support for CiviCRM pre-4.5 l10n file locations #23435

Merged
merged 1 commit into from
May 11, 2022

Conversation

mlutfy
Copy link
Member

@mlutfy mlutfy commented May 11, 2022

Overview

When we added support for "native gettext" in CiviCRM 4.5, the file structure for the "mo" translation files (in the l10n directory) changed. Since few people used native gettext at the time, and since tooling had to be adjusted, we included a fallback mode so that the older file hierarchy still worked.

8 years later, I think we can assume people have fixed their tooling, and use the expected file hierarchy ;)

Before

Fallback mode for mo files in the old location.

After

Fallback removed.

Comments

I plan on adding an option to load extension mo files from the [civicrm.l10n] directory. It's not directly related, but I saw this old code and wanted to tidy up first.

@civibot
Copy link

civibot bot commented May 11, 2022

(Standard links)

@civibot civibot bot added the master label May 11, 2022
@eileenmcnaughton eileenmcnaughton merged commit fed6123 into civicrm:master May 11, 2022
@eileenmcnaughton eileenmcnaughton deleted the removeOldL10nDir branch May 11, 2022 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants