aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/languages.php
AgeCommit message (Collapse)Author
2012-04-25Upgraded to Elgg 1.8.4.Sem
2011-12-08Fixes #3181 caching language js on server side with proper headerscash
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-01using the info module for user settingscash
git-svn-id: http://code.elgg.org/elgg/trunk@7808 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-29Cleaned up register_translations().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7733 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Refs #1320: elgg_echo() has built-in sprintf support.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7226 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Standardized code in all of core, not including language files, tests, or ↵brettp
core mods. git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Fixes #1166. get_installed_translations() only calculates completion if ↵brettp
admin is logge din. git-svn-id: http://code.elgg.org/elgg/trunk@3893 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-24fixes 1315 - language static now being set correctlycash
git-svn-id: http://code.elgg.org/elgg/trunk@3703 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-04Closes #824: Test variable to prevent error message in log.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3256 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-18Different assignment.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3168 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-18Closes #883: Using different operator logic so that plugins can replace ↵marcus
existing translation entries. git-svn-id: https://code.elgg.org/elgg/trunk@3165 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-06Closes #838: Missing set from static var.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3108 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Current language now cached per process in elgg_echo.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3039 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Removed directory test to languages since it's probably fair to assume that ↵marcus
this isn't going to be the case git-svn-id: https://code.elgg.org/elgg/trunk@3036 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-03Removing the stupidly slow array_merge from lang load codemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3031 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-28Closes #824: $language is initialisedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3001 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-25Refs #808: Bug was actually fixed by not using empty... ↵marcus
register_translations has to be in the wild otherwise install won't load translation. git-svn-id: https://code.elgg.org/elgg/trunk@2953 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-25Closes #808: Removed register_translation from the wild, now called on boot ↵marcus
so that it is always after configuration_init git-svn-id: https://code.elgg.org/elgg/trunk@2952 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-19Fixed strange infinite loop on language loading.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2813 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-19Removed @ from register translation include_oncemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2812 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-16Closes #429: Language loading now no longer loads all possible translations ↵marcus
- only english + user's preferred language/site preference git-svn-id: https://code.elgg.org/elgg/trunk@2762 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-25Fixes #709: get_language() now fails correctly. @ben Why is this introduced? ↵marcus
Surely this is the same as get_current_language()? git-svn-id: https://code.elgg.org/elgg/trunk@2615 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Moved current language detection out into the function get_language();ben
git-svn-id: https://code.elgg.org/elgg/trunk@2607 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-14* Introducing get_loggedin_user() and get_loggedin_userid()marcus
* ACLs now using get_loggedin_user* * Some logic cleaned up * Some "Undefined..." messages cleaned up git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-13Introducing get_current_language(). Refs #235marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2236 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-10Improved language completeness algorithm.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2069 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-09Minor tweak: Only shows percentage on things less than 100% completemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2067 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-09Some language helper tools.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2066 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-09Introducing: Admin only translation "completeness" helper.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2064 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-28Closes #313, Fixes #274: Resolved strange OSX language file browsing, ↵marcus
including speculative windows fix. Thanks for the patch! git-svn-id: https://code.elgg.org/elgg/trunk@2044 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-27Removed debug warningmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1171 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Added get_installed_translations() to return an array of available ↵marcus
translations together with native language translation of the text. Refs #98 git-svn-id: https://code.elgg.org/elgg/trunk@1154 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-26Closes #92: Settings: Set user language marcus
http://trac.elgg.org/elgg/ticket/92 git-svn-id: https://code.elgg.org/elgg/trunk@1145 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-18Removing some error noticesben
git-svn-id: https://code.elgg.org/elgg/trunk@978 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10git-svn-id: https://code.elgg.org/elgg/trunk@856 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10git-svn-id: https://code.elgg.org/elgg/trunk@855 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10A better fix for language pack loading ...ben
git-svn-id: https://code.elgg.org/elgg/trunk@854 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10Fix for language pack loading.ben
git-svn-id: https://code.elgg.org/elgg/trunk@852 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10Marcus Povey <marcus@dushka.co.uk>icewing
* Modified elgg_echo to return $message_key if no translations found, meaning you will always get _something_ from the command and will serve to prompt people for missing translations. git-svn-id: https://code.elgg.org/elgg/trunk@851 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10register_event_handler and trigger_event have been renamed to ↵ben
register_elgg_event_handler and trigger_elgg_event respectively. git-svn-id: https://code.elgg.org/elgg/trunk@848 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-04Fixed the installation labels issue!ben
git-svn-id: https://code.elgg.org/elgg/trunk@798 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-02The system now uses the site GUID to get and set entity data. Also, ↵ben
installation is a great deal more visual. git-svn-id: https://code.elgg.org/elgg/trunk@621 36083f99-b078-4883-b0ff-0f9b5a30f544