universal-translator
universal-translator copied to clipboard
Translation Parameters order
Hello,
We have the below case: Translations: EN: Please enter at least {{currency}} {{amount}}: AR: Please enter at least {{amount}} {{currency}}:
Following the docs our translation value look like this EN: Please enter at least {0} {1}: AR: Please enter at least {0} {1}:
At the moment in order to achieve this we have to manually change the order of the parameters in the language is AR. Is there any other way to have parameters in the translation without order being important?
I'm sure there's a way but will require some refactoring.
I wish I could look into this sooner but an busy with other projects ATM.