Open terinjokes opened 10 years ago
Good call. We should document that.
Why use '||||' as the delimiter? Why not use an array or object which are more natural structures in JavaScript?
@hekevintran the ||||
is an artifact of the Airbnb translation system. It could be possible to allow Polyglot to also support a different data structure, like an object or array.
:+1: for a documentation on this :)
:+1: for docs
A good example: http://i18njs.com/#pluralisation
Knowing the delimiter is "||||" is useful, but to format our translations correctly it's also useful to know the order of: