Handle automatically string's placeholders
Would be awesome to replace automatically attribute's placeholder according to the chosen export format.
Ex : Declaring a translation with
"[STRING] called you yesterday (total of call : [NUMBER]"
iOS Export : "%@ called you yesterday (total of call : %d)"
Android Export : "%1$s called you yesterday (total of call : %2$d)"
-
Anonymous commented
It is nearly insane that POEditor does not support that feature. Even Loco supports it.
-
Stan commented
An amazing idea! Replacing these placeholders is manual work that takes me hours every time I update the translations in my app!
-
If you would like to have the same strings in both iOS and Android, you would want to use something like %1$d and %2$s for variables.