Open iBobik opened 5 years ago
Hello @iBobik,
Currently, if the default language changes, it's a matter of switching order of the languages
config key. This would add extra work.
While I empathize as a developer the challenge of understanding what translation keys are doing, the default language isn't necessarily going to be the same as the translation keys themselves. For example, I work in Germany, so the default language for customers/website is German, while internally we use English for the key value of the translations.
{% t customer.purchase.color %}
is descriptive.
Currently html documents are not well readable because all content is hidden behind keys:
{% t some.key %}
How to move default language to a template files and only other languages have in _i18n/.yml?
{% t Real sentence what will be printed if rendering default language. %}
in _i18n/.yml the sentende in default language is used as a key: