EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   [TIPS] French/German player + market window presets + ACT (https://www.eq2interface.com/forums/showthread.php?t=12079)

saroiel 12-13-2008 10:35 AM

[TIPS] French/German player + market window presets + ACT
 
Hello,

I use ACT on Storms server (French) i've add cl_language english in my eq2.ini file (ACT need that to work) and the Market window set the presets lists in English ....

First i've just change
Code:

COND=(MainPage.TabPages.BuyPage.FindButton.LocalText=='Chercher')
to
Code:

COND=(MainPage.TabPages.BuyPage.FindButton.LocalText=='Search')
in eq2ui_inventory_market.xml

But, it's a crapy mod :)

So, i change this :

in _ProfitUI_MiscSettings.txt :

Add :
Code:

        <Page Name="MarketPresets">
                <Text Name="lang">FR</Text>
        </Page>

in eq2ui_inventory_market.xml :

change :

Code:

COND=(MainPage.TabPages.BuyPage.FindButton.LocalText==&apos;Suchen&apos;)
LOCALE=COND ? DE : LOCALE
COND=(MainPage.TabPages.BuyPage.FindButton.LocalText==&apos;Chercher&apos;)
LOCALE=COND ? FR : LOCALE

to
Code:

LOCALE=Parent.Parent.Custom.ProfitUI_MiscSettings.MarketPresets.lang.Text
and now presets work fine in French and ACT work fine with English logs :)

For Germans players : <Text Name="lang">DE</Text>

gm9 12-13-2008 12:28 PM

I could think of a couple of easier ways to do that, starting with simply copying/renaming the French favorites to the English ones, but yours is certainly one possibility. :)

Even better for you guys would probably be to simply provide Aditu with a French translation of the parsing terms, after all the program already does German and Russian in addition to English..

PS: I can probably change the language detection function to ignore the cl_language value if autoplay_world == Storms. There will be some cases where this will not work because autoplay_world is not set but for most it should work.


All times are GMT -5. The time now is 08:21 AM.

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