ems-project / elasticms

ElasticMS's monorepo
MIT License
3 stars 8 forks source link

Use ICU Message Format (optional enabled) #241

Open Davidmattei opened 1 year ago

Davidmattei commented 1 year ago

The skeleton translations, should be able to use the ICU Message Format

Same way as symfony we suffix the translation yamls with +intl-icu Check that the clientHelperTranslator is passing it correctly

Important if we start using the ICU message format:

In the previous translation format, placeholders were often wrapped in % (e.g. %name%). This % character is no longer valid with the ICU MessageFormat syntax, so you must rename your parameters if you are upgrading from the previous format.

Davidmattei commented 4 months ago

Already implemented in the core & admin bundle. But would be cool to support it on the skeletons