<table><tr><td style="">kossebau created this revision.<br />kossebau added reviewers: Frameworks, ilic, ltoscano.<br />Restricted Application added a project: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8351" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The current implementation of KLocalizedString::setApplicationDomain()<br />
will trigger the creation of the KLocalizedStringPrivateStatics instance and<br />
thus also the calculation of the locale languanges from the env vars<br />
as set at that time, and QLocale::system() on some platforms.<br />
So the claim that "This call can be made at any place in the code" does not<br />
hold, instead API consumers should be instructed about when to call<br />
the method ideally.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R249 KI18n</div></div></div><br /><div><strong>BRANCH</strong><div><div>addNoteAboutCallingSetAppDomainAfterQApp</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8351" rel="noreferrer">https://phabricator.kde.org/D8351</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>docs/programmers-guide.md<br />
src/klocalizedstring.h</div></div></div><br /><div><strong>To: </strong>kossebau, Frameworks, ilic, ltoscano<br /></div>