Hello !
For my simple currency field extension (featured on the latest changelog ) I received an issue about currency formatting issues for Argentina.
The issue:
When using the “Spanish Latin America” (es-419) language setting, Argentine peso is displayed with:
• Currency code “ARS” instead of the correct “$” symbol
• Incorrect decimal/thousands separators (Argentina uses comma (,) as decimal separator and period (.) for thousands)
Current understanding:
It appears Directus supports languages (like Spanish Latin America) but not country-specific locales like es-AR (Spanish Argentina). This creates formatting issues for currencies in countries that share a language but have different formatting conventions.
Questions:
-
Is there a way to add support for country-specific locales (like es-AR) in Directus?
-
Would it make sense to separate language selection from locale/formatting settings in Directus core?
-
Is this something that should be addressed at the extension level, or would it be better implemented in Directus core?
I believe proper locale support should be handled at the instance level rather than requiring each extension to implement its own locale handling. This would ensure consistent formatting across the entire application.
Any insights or guidance would be greatly appreciated!