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

Localization fails if language does not match locale #9446

Closed
jmooring opened this issue Jan 30, 2022 · 1 comment · Fixed by gohugoio/localescompressed#1, gohugoio/localescompressed#2 or #9527

Comments

@jmooring
Copy link
Member

jmooring commented Jan 30, 2022

In site configuration, if you do this:

[languages.es-ES]

then dates, currencies, numbers, and percentages will not be localized because es-ES does not match any of the locales in gohugoio/localescompressed. The locales use underscores instead of hyphens.

See gohugoio/localescompressed#1

Somewhat related to #9109.

@github-actions
Copy link

github-actions bot commented Mar 6, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant