Dynamic formatted translations
-
Hi Team.
Is there a function to translate formatted strings similar or compatible with sprintf()? For example:
Format: “I am %d years old and I have %s in my wallet.”
- Output(en): Result(with 19, “€9.99”) – “I am 19 years old and I have €9.99 in my wallet.”
- Output(fr): Result(with 21, “€21”) – “J’ai 21 ans et j’ai €21 dans mon portefeuille.”
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Dynamic formatted translations’ is closed to new replies.