summaryrefslogtreecommitdiff
path: root/includes/lib/l10n.php
AgeCommit message (Collapse)Author
2014-06-21bug 1280: Implement normalisation in of language codes in the L10n classbug-1280Michael Tänzer
and use it (in set_translation() and the Assurer contact form) Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-06-21bug 1280: Remove trailing white spaceMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2014-06-21Revert "bug-1280: Handle more different types of "languages":"Michael Tänzer
This reverts commit 0730c9df3eb440205d7963e3c0762765d9b47031.
2014-06-11bug-1280: Handle more different types of "languages":Felix Dörre
- zh_CN => zh-cn (in various cases: ZH_cn, zh_cn, ...) - de => de (what the current GUI produces) - de_DE => de, en_AU => en, EN_AU => en (what may be left in the database) ... and more creative upper/lower-cases
2011-10-18bug 985: Doh, never copy and paste codeMichael Tänzer
I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. I shall never again use copy and paste for coding. Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-16bug 985: move binding to a gettext domain into a separate method andMichael Tänzer
update some more legacy language handling removed screenshot() as it's never used and language dependent still open: translation in PDFs Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-16bug 985: doh, actually return somethingMichael Tänzer
Signed-off-by: Michael Tänzer <neo@nhng.de>
2011-10-16bug 985: Factor out language handling into a separate class, also fixMichael Tänzer
language handling for Internet Explorer. TODO: - replace all uses of $_SESSION['_config']['language'] and $_SESSION['_config']['translations'] with the appropriate calls to the new class - adjust character handling in the PDF generation routines - probably more Signed-off-by: Michael Tänzer <neo@nhng.de>