LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Plugin support for German and French clients (https://www.lotrointerface.com/forums/showthread.php?t=1195)

Garan 06-10-2013 04:42 PM

Or you could just use the solution I've been using for nearly two years now, detailed at:http://forums.lotro.com/showthread.p...97#post5784197

It is a two part solution, first using the Vindar patch to save and load data and then forcing numerics to the currently selected client format using my euroNormalize function so that the plugin will work properly even if the user changes client languages between saving and loading data.

Thurallor 10-13-2014 07:36 PM

Lynx3d, I've started using a variant of your solution, which I quite like. :)

Garan, the main drawback of your method is that you have to call euroNormalize() for each numeric key or value (and not call it on strings that happen to be numbers). I want the workaround to be done centrally and automatically. Therefore the load function needs to be smart enough to know when to create "1.23" vs. 1.23.


All times are GMT -5. The time now is 06:56 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI