aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/languages.php
AgeCommit message (Collapse)Author
2012-07-08Fixes #4004. elgg_logging when a language key is missing.Sem
2012-06-15load translations when an exception is thrown before engine boot finishesCash Costello
2012-06-14rewrote the language caching - now not calling register_translations() if we ↵Cash Costello
can load the language data from cache
2012-05-15correctly registering js language. Otherwise the simple cache will not work ↵Jeroen Dalsem
and will constantly regenerate the cached views (which is a big issue)
2012-02-01fixed logic that caused plugin language files to not be loadedcash
2012-01-25not loading language files a second time when session initializedcash
2012-01-25caching language datacash
2012-01-21cleans up the boot processCash Costello
2012-01-21single for loop for loading librariesCash Costello
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