URL: <http://gna.org/patch/?7179>
Summary: Initial patch for run-time language switching; low-level switch_lang() Project: Freeciv Submitted by: cazfi Submitted on: Mon 02 May 2016 06:12:25 PM EEST Category: freeciv-web Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 3.0.0 _______________________________________________________ Details: When I tried something like changing the language when gettext has been once initialized already around year 2000, gettext didn't like it at all - now I think it's time to retry, and at least it seems to work (I'm yet to check if there's memory leaks or similar consequences) This initial patch adds just low-level function to build on. (Most likely this proceeds on freeciv-web first, so having this in reduces the delta between the two) _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 02 May 2016 06:12:25 PM EEST Name: SwitchLang.patch Size: 6kB By: cazfi <http://gna.org/patch/download.php?file_id=27269> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?7179> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev