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

Respect available locales set in application #2477

Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented May 24, 2023

What is this pull request for?

If the application has set

Rails.application.config.i18n.available_locales

we use them for Alchemy::I81n.available_locales and only scan the locale files if not.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

If the application has set

    Rails.application.config.i18n.available_locales

we use them for Alchemy::I81n.available_locales and
only scan the locale files if not.
@tvdeyen tvdeyen requested a review from a team May 24, 2023 18:46
@tvdeyen tvdeyen added this to the 7.0 milestone May 24, 2023
@tvdeyen tvdeyen merged commit 0b21a53 into AlchemyCMS:main May 25, 2023
@tvdeyen tvdeyen deleted the respect-application-available-locales branch May 25, 2023 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants