-
Notifications
You must be signed in to change notification settings - Fork 326
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
Use consistent localization codes #71
Comments
@wachterjohannes Is this inconsistency removed? If yes, please close this issue. |
@danrot i will check this next week and close it then(= |
@wachterjohannes so it was not fixed? ;-) |
it will be generated only with '_' here https://github.com/sulu-cmf/sulu/blob/develop/src/Sulu/Component/Webspace/Localization.php#L145 |
alexander-schranz
pushed a commit
to alexander-schranz/sulu
that referenced
this issue
Feb 22, 2024
* move postcss configuration to sulu/sulu * remove babel configuration from webpack config * extracted webpack * build new version * add travis for testing build process
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The use of localization codes is not consistent (sometimes
de_at
, sometimesde-at
). We should stick with one representation in the API and transfer them at the appropriate places.The following code lines show what I mean:
https://github.com/sulu-cmf/sulu/blob/e4404de197fc8a77a86f388b379548025a3116fd/tests/Sulu/Component/Content/Mapper/ContentMapperTest.php#L1474
https://github.com/sulu-cmf/sulu/blob/e4404de197fc8a77a86f388b379548025a3116fd/tests/Sulu/Component/Content/Mapper/ContentMapperTest.php#L1481
The text was updated successfully, but these errors were encountered: