<div dir="ltr">On Sun, Aug 2, 2015 at 7:36 PM, Thiago Macieira <span dir="ltr"><<a href="mailto:thiago@kde.org" target="_blank">thiago@kde.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If the format you're looking for is in the CLDR, you're welcome to add the<br>
support to QLocale.<br></blockquote><div><br></div><div>It's not really about any missing locale, it's about setting different parameters</div><div>for the given locale. For example David Edmundson (a brit) repeatedly tells me</div><div>that en_GB (cldr) uses "12h clock format but pretty much any clock is guaranteed</div><div>to be 24h clock format".</div><div><br></div><div>So what is missing/wanted is telling QLocale to use en_GB *but* return</div><div>any time string in 24h format for example. Or to use ISO date format</div><div>by default. The stuff coming from cldr might not always be what</div><div>the user wants. And there's no easy and global way to override it</div><div>other than setting different LC_TIME value, which is less than ideal</div><div>as it can give you 24h clock format but will leave you with different</div><div>date format too, so it's a hit'n'miss game.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If the format you're looking for requires support from translators, please add<br>
a new class to QtCore.<br></blockquote><div><br></div><div>Suppose there's such QLocale setting as described above, then it would</div><div>be just a matter of some regexp inside the time formatting function which</div><div>would add/remove the "ap"/"AP" strings for the clock. I imagine.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> Alternatively, do you John have any roadmap about QLocale? Perhaps<br>
> we could help with filling the missing bits into QLocale directly too.<br>
<br>
</span>The roadmap currently stands as follows:<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Does this mean there is no roadmap? :)</div><div><br></div></div><div>Cheers</div>-- <br><div class="gmail_signature"><div><span style="color:rgb(102,102,102)">Martin Klapetek | KDE Developer</span></div></div>
</div></div>