#7819: Instant change of locale -------------------------------+---------------------------- Reporter: deejam | Owner: nobody Type: enhancement | Status: assigned Priority: normal | Milestone: R1 Component: Kits/Locale Kit | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -------------------------------+---------------------------- Comment (by pulkomandy): No. The locale kit can't track what you do with the strings you requested from it. So you have to tell all your views to refresh, or refresh your textmode display for CLI apps, or whatever. This needs careful coding because you must make sure you don't query for a string using B_TRANSLATE while you're in the process of switching catalogs. Whike it is possible to make sure this doesn't happen with locking on every B_TRANSLATE call, the result would be an even slower locale kit. Not really a nice idea. So, it's up to the application to handle that when it can do it safely. -- Ticket URL: <http://dev.haiku-os.org/ticket/7819#comment:7> Haiku <http://dev.haiku-os.org> Haiku - the operating system.