Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1746

[3.3.x] Translations • Re: How do I get "%2$.2f seconds" to show "1,23" instead of "1.23"

$
0
0
I notice the translator is able to make the code/page fail if for example the translator changes "%2$.2f" to "%2$,2f".
I don't like that.
I guess the translation checker might catch it.
But if there is always suppose to be 2 decimals in all languages then maybe better to just have a simple string like "%2$s" or "%s" or whatever it is suppose to be.
Then translator don't have to deal with decimals.
And then the people progamming can decide on how many decimals there should be. Maybe they want to change from 2 to 1 decimal or removed the decimal instead of having to ask all the translators to change the strings.

Statistics: Posted by scootergrisen — Tue Aug 20, 2024 7:40 pm



Viewing all articles
Browse latest Browse all 1746

Trending Articles