Add automatic BCP 47 language format detection in l10n factory
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
[!TIP]
Help move this idea forward
- Use the 👍 reaction to show support for this feature.
- Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
- Subscribe to receive notifications about status changes and new comments.
Is your feature request related to a problem? Please describe.
BCP 47 is the current best practice language tag format standard, but the l10n factory is using POSIX locale definitions standard
Describe the solution you'd like
Detect BCP 47 format and convert to internal format
Describe alternatives you've considered
None
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the l10n factory and reading how it currently handles POSIX locale definitions. Compare that behavior with the requested BCP 47 detection and conversion, then identify the relevant localization tests; done means supported BCP 47 tags are detected and converted to the internal format without regressing existing locale handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- internationalization, localization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100