-
Notifications
You must be signed in to change notification settings - Fork 12
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
4 / 5 letter language codes #41
Comments
Have you tried using |
I did, and that broke the whole translation principle. In vendor/bolt/labels/src/LabelsExtension.php line 93 you can actually see the extension cutting back to the '2 digit version'
|
Hmm. Do you have a suggestion on how to fix this? |
Well in a functional sense the code should count the digits. In a technical sense, all relevant code seems to be in LabelsExtension.php. Somehow the extension would need to 'allow' for 2 OR 5 digit languagecodes. |
Hi there.
The docs state:
"It's advisable to stick to two-letter language codes."
That would be fine normally, but a client has customers in different countries where language-difference within the base language actually matters.
So I really need 'de-DE' and 'de-CH' on this one (for example).
How can I achieve this?
I believe the code of the extension itself only wants to check on 2 digits.
The text was updated successfully, but these errors were encountered: