We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
iris v12.1.8 go 1.14.2 locales not found in /opt/etc/rcacs/locales/en-US.ini
The text was updated successfully, but these errors were encountered:
app.I18n.Load("/home/rcacs/locales/*.ini", "zh-CN", "en-US") report error locales not found in /opt/etc/rcacs/locales/en-US.ini
Sorry, something went wrong.
c44f67a
fix: kataras/i18n#1
e187fed
Hello @lovezyy495926,
This is caused because opt and even etc are considering as a valid language code based on: https://www.unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers.
opt
etc
This i18n package tries to match a folder with a language code automatically, e.g. /en-US/example.ini filenames as well, e.g. en-US.example.ini.
/en-US/example.ini
en-US.example.ini
It's fixed, with reversing the order of matching, it now starts the search from the end instead of the start of the path.
Thank you for the bug report.
c354352
Former-commit-id: 12b75f1e54ebf3d7f78a09b8d5594859a344422d
kataras
No branches or pull requests
iris v12.1.8
go 1.14.2
locales not found in /opt/etc/rcacs/locales/en-US.ini
The text was updated successfully, but these errors were encountered: