<div dir="ltr"><div><div>Hi, <br><br></div>for Slovenian I already asked to include space in front of "%" and it was done. I also changed all translated strings accordingly. It was done for 4.2 or even before, can't remember. Hopefully those settings for Slovenian were inherited by 4.3.<br>
<br></div>Lp, m.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/21 Caolán McNamara <span dir="ltr"><<a href="mailto:caolanm@redhat.com" target="_blank">caolanm@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For 4.3 we are now, in the normal case, putting space between values and<br>
units in spinners. e.g. now "10 mm" instead of "10mm".<br>
(<a href="http://en.wikipedia.org/wiki/ISO_31-0" target="_blank">http://en.wikipedia.org/wiki/ISO_31-0</a>)<br>
<br>
For the degree symbol we are not putting space between value and unit,<br>
i.e. it remains "10°"<br>
<br>
I think those are hopefully uncontroversial.<br>
<br>
The tricky case is the % symbol, because, while ISO-31-0 implies that<br>
"10 %" is the preferred scientific format, English style guides prefer<br>
"10%" and "10 %" looks "just plain wrong". It's a locale-dependent<br>
formatting rule (<a href="http://en.wikipedia.org/wiki/Percent_sign" target="_blank">http://en.wikipedia.org/wiki/Percent_sign</a>)<br>
<br>
So to resolve this we now have a function formatPercent which takes the<br>
number and the locale and runs it through icu's PercentInstance to<br>
format it according to that locale's formatting rule. Which gives e.g.<br>
"10 %" for de and "10%" for en. (<a href="http://site.icu-project.org/" target="_blank">http://site.icu-project.org/</a>)<br>
<br>
What this means is that:<br>
a) In the English strings in .src files the source text should not have<br>
a space between number and %. I think these are all fixed now.<br>
b) You should check that the icu percent formatting rule is considered<br>
correct for your language in the context of a office suite UI e.g. in<br>
the spinner of view->zoom->zoom->variable<br>
c) If you agree with icu's % formatting for your language then update<br>
the translations for X% to be consistent with that formatting. Otherwise<br>
we can fix icu or make a blacklist of languages which should be excluded<br>
from the default icu percent formatting.<br>
<span class="HOEnZb"><font color="#888888"><br>
C.<br>
<br>
<br>
--<br>
To unsubscribe e-mail to: <a href="mailto:l10n%2Bunsubscribe@global.libreoffice.org">l10n+unsubscribe@global.libreoffice.org</a><br>
Problems? <a href="http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/" target="_blank">http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/</a><br>
Posting guidelines + more: <a href="http://wiki.documentfoundation.org/Netiquette" target="_blank">http://wiki.documentfoundation.org/Netiquette</a><br>
List archive: <a href="http://listarchives.libreoffice.org/global/l10n/" target="_blank">http://listarchives.libreoffice.org/global/l10n/</a><br>
All messages sent to this list will be publicly archived and cannot be deleted<br>
</font></span></blockquote></div><br></div>