Skip to content

Conversation

@devnexen
Copy link
Member

@devnexen devnexen commented Nov 8, 2025

TODO: locale_get_keywords() to update ?

@frederikbosch
Copy link
Contributor

@devnexen Do I understand correctly that there is no generic solution possible where the composeLocale creates a locale string based on all keys in the array? I.e. do we manually need to add a match forcurrency in the function body too?

The underlying question is: given a locale string that is parsed using \Locale::parseLocale() and \Locale::getKeywords(), how can I compose it back into a locale string?

@devnexen
Copy link
Member Author

devnexen commented Nov 8, 2025

I opened as draft and not linking to the ticket because I m looking at the feasibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants