So far we have node-polyglot installed & a config option which provides either "en" or "en_PL" languages.
_e() equivalent syntax is:
#!hbs {{e key defaultString options}}
Where:
Simple example
#!hbs {{e "editor.actions.save_draft" "Save Draft"}}
Example with interpolation
#!hbs {{e "editor.word_count" "%{count} words" count="561"}}
The function is used in the navbar partial, and throughout editor.hbs as an example.
Still todo:
Also to be in separate stories:
Interesting questions:
There was an error while loading. Please reload this page.