Skip to content

Fix locale length for languages like zh-Hans #7481

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

Merged

Conversation

martinlagler
Copy link
Contributor

@martinlagler martinlagler commented Jun 26, 2024

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
License MIT

What's in this PR?

Increase the length of the "locale" fields.

Why?

To allow locales like "zh-Hans".

So the biggest official locale is zh-Hans_CN which 10 chars.

Copy link
Member

@alexander-schranz alexander-schranz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPGRADE md with the SQLs missing

Copy link
Member

@alexander-schranz alexander-schranz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed we will go with 15 as a buffer and it also matches binary 1111

@alexander-schranz alexander-schranz added the Bug Error or unexpected behavior of already existing functionality label Jun 26, 2024
@martinlagler martinlagler force-pushed the enhancement/increase-locale-length branch from d0b421a to cf4dabe Compare June 26, 2024 07:16
@alexander-schranz alexander-schranz merged commit bb905b4 into sulu:2.6 Jun 26, 2024
@alexander-schranz alexander-schranz changed the title Increase locale length Fix locale length for languages like zh-Hans Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants