Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » For users of $(language).lua


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off