I guess that you could shorten it further by creating a pseudo boot
file to initialise all your scripts rather than requesting them all?
Think if you were to expand your language set even further you could
end up with a lot of conditional includes there.
Yes. Got it now. Thanks!
On Thu, Jul 23, 2009 at 3:35 PM, Jörn
Zaefferer wrote:
>
> You include the js file for the language of the page. Load no
> additional file for english, and messages_se.js for swedish. There is
> no support to load two locales at once and switch after page load.
>
> You co
so adding
should load the swedish messages instead of the english ones?
And using PHP to check $lang and output nothing for english and the
statement above for swedish should be enough.
On Thu, Jul 23, 2009 at 3:35 PM, Jörn
Zaefferer wrote:
>
> You include the js file for the language of the pa
You include the js file for the language of the page. Load no
additional file for english, and messages_se.js for swedish. There is
no support to load two locales at once and switch after page load.
You could hack that by putting the swedish properties into a different
variable, then modifying $.
4 matches
Mail list logo