View Single Post
09/10/14, 04:04 AM   #1
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
For users of $(language).lua

Hello,

Little trick for Addon authors who use this trick to localize your strings. Cause some gamers have made a russian translation for the game, some addons won't load if in your manifest you try to load $(language).lua

the reason is because $(language).lua = "ru" and you don't have a ru.lua in your addon.

You could add a ru.lua with english strings as exemple. but a nice trick is to put in your manifest :

Code:
path/lang/en.lua
path/lang/$(language).lua
And your addon is now safe from russian / turkish / spanish / italian / brazilian / whatever country hackers
  Reply With Quote