Ralf Becker
400240f1e4
caching translations for 10days and changing translation url, when translations are changing --> saves server-roundtrip for each translation
2014-01-09 15:32:07 +00:00
Ralf Becker
0f838df1b9
switch zlib.output_compression off, as we cant calculate Content-Length header, if its on, doing our own Content-Encoding: gzip now (wont be necessary for Apache2.2 which fixes false Content-Length headers silently, but eg. Lighttpd cuts off content, if wrong Content-Length header specified
...
using md5 of real content for instance specific translations, cant use lang_ctimes for them
2012-03-19 08:35:47 +00:00
Ralf Becker
2175421d42
added "custom" (custom instance-specific translations) to apps which have to use home as app-name, also moved sanitrary checks before header-include
2012-03-01 09:30:49 +00:00
Ralf Becker
edab2bd248
$GLOBALS['egw_info']['server']['lang_ctimes'] is now an array
2011-08-28 12:48:31 +00:00
Ralf Becker
16c6a8d4f9
got clientside translations working for etemplate2 apps: egw.lang("%1 timesheet(s) %2", 5, egw.lang("deleted"))
2011-08-23 16:15:54 +00:00
Ralf Becker
7dd54648b9
merging all translations in window.egw_lang, to not have to search n-arrays
2011-08-21 20:22:09 +00:00
Ralf Becker
0aa128b53e
Loading translations like other javascript files:
...
setting headers to allow browser to cache the file until it's etag containing the creationdates of the used langfiles changes
--> et2 can now use egw_lang object to translate labels, options, ...
2011-08-21 20:09:14 +00:00