EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-13-2008, 10:35 AM
saroiel saroiel is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Storms
Posts: 44
Default [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>
__________________

Final Heroes of Pegasus on STORMS Server (Fr)
Reply With Quote
  #2  
Unread 12-13-2008, 12:28 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 12-13-2008 at 12:38 PM.
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 06:23 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI