Originally Posted by glafria
In the language.lua you found this
and not the correct syntax
both forms work.
I used Locale Emulator
to run lotro with Japanese locale and received the same error with both forms.
replacing that line with the following is how it should be, I've tested it with Japanese locale, still downloading French and German languages to test those:
Code is from Pulse's comment
L = Turbine.Engine:GetLanguage();
if L == 0 or L == 2 or L == 268435457 then L = "en";
elseif L == 268435459 then L = "fr";
elseif L == 268435460 then L = "de";
elseif L == 268435463 then L = "ru"; end