EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   EQ2MAP (https://www.eq2interface.com/forums/forumdisplay.php?f=34)
-   -   Wanted: Foreign Language /loc Logs (https://www.eq2interface.com/forums/showthread.php?t=12900)

SaintPeter 05-21-2009 11:51 PM

Wanted: Foreign Language /loc Logs
 
I am working on the next version of my Mapper2 script and I would like to offer support for non-English languages.

What I need
The name of the language in English and that language
The generally accepted two letter abbreviation for that language (IE: de = Deutch = German)
A log file (as attachment) with at least one /loc, preferably a lot more, for script testing.
A direct translation for the following phrases:
- start a new map line
- color
- mapgroup

If your language uses a period or a comma as a decimal separator.
IE: pi = 3.14159 vs pi = 3,14159

I be offering generic language configuration files, so you will be able to add your favorite language as you please.

gm9 05-22-2009 05:29 AM

You should have said something, I have all clients installed, I can pull that directly from their dictionaries, I do not even need to log in for that. Japanese uses a period as a decimal separator and comma as a thousand separator, all the others use it the other way around. However, you must autodetect that because the eq2 client will use whatever you have configured in your operating system.

I am not sure that translating "mapgroup" makes sense since it is just a term from the XML. The dropdown contains the continent/island of Norrath. Also if you translate things like "color" wouldn't you need translations of the color names also and the different sentence structure in which you would use them? I'd leave the /em's alone if I was you. ;) Anyway I added translations for German and French while I was at it.

Quote:

Originally Posted by German (DE)
Code:

Eure Position ist $0, $1, $2. Eure Ausrichtung ist $3, $4, $5
  • beginne neue Kartenlinie
  • Farbe
  • Kartengruppe

Quote:

Originally Posted by French (FR)
Code:

Votre position est $0, $1, $2. Votre orientation est $3, $4, $5
  • commence nouvelle ligne de la carte
  • couleur
  • groupe de cartes

Quote:

Originally Posted by Japanese (JP)
Code:

現在地:$0、$1、$2。方位:$3、$4、$5。

Quote:

Originally Posted by Russian (RU)
Code:

Ваше местонахождение: $0, $1, $2. Ваше направление: $3, $4, $5


SaintPeter 05-22-2009 10:12 AM

Sorry, I needed to be more specific. I absolutely need an actual FILE containing the /loc, with everything that goes with it. When you cut and paste it to the forum it gets all distorted, loses spaces, etc. Additionally, I can't see the way the numbers look. I'm generating regular expressions, which are extremely dependant on the specific format of the line.

I can't test my code against a forum post, I have to test it against an actual log file. I want to make sure that my Perl can read the Unicode log and configuration file.

I'm thinking that I need at least to /locs, so it can draw a line.

However, all the rest of the translations look good.

The phrase 'mapgroup' is not used in the same context as the XML, it's used to generate separate layers within the SVG file.

gm9 05-22-2009 12:04 PM

1 Attachment(s)
forums work for this if the lines aren't too long. anyway, see attached

If you'd rather use the term layer that would be Ebene/niveau.

SaintPeter 05-22-2009 12:13 PM

Look at you, being awesome!

SaintPeter 05-25-2009 11:43 PM

If there are any French speaking mappers out there who are willing to beta test French Language support for Mapper2, please post here or PM me.

It looks like I have working German and Russian language support at this time.

SaintPeter 06-23-2009 10:11 AM

Ok, I think my head may explode.

For languages that use a comma as the decimal seperator, do they also use the period as a thousands seperator? Or a space?

Could I get an example of the /loc output of a value greater than 1000 in German, French, or Russian? Or all three?

As I understand it, the number could be:
1.000,00 or
1 000,00

Landiin 06-23-2009 11:04 AM

this helped me out when I was dealing with that issue.. start->control panel-> regional and language options. It has an example of numeric representation of ever possible language just about. (at least on my comp it did) then just change to the language you are testing and see if works..

saroiel 06-23-2009 11:12 AM

For French server

With cl_language english in eq2.ini (ACT users):

Your location is 1,022.77, -0.80, -369.91. Your orientation is 143.65, 0.00, 0.00

Without cl_language english in eq2.ini :

Votre position est 1 022,77, -0,80, -369,91. Votre orientation est 143,65, 0,00, 0,00

@ ++

SaintPeter 06-23-2009 11:32 AM

Quote:

Originally Posted by Landiin (Post 84274)
this helped me out when I was dealing with that issue.. start->control panel-> regional and language options. It has an example of numeric representation of ever possible language just about. (at least on my comp it did) then just change to the language you are testing and see if works..

Thanks. I have played around with that a bit, but it doesn't necessarily tell me how the EQ2 client displays the numbers. I am trying to write a language agnostic parser, so I need to be able to read in an arbitrary number and convert it to something VB can read. I want to be able to read in a mix of alternate language numbers.

Quote:

Originally Posted by saroiel (Post 84275)
Votre position est 1 022,77, -0,80, -369,91. Votre orientation est 143,65, 0,00, 0,00

Excellent, this is exactly what I needed. Thank You!

I think I need to hit my regular expressions again.

BTW, have you tried out my new MapperLive program? I'm excited to hear if it works for those who play on foreign language servers.

saroiel 06-23-2009 12:27 PM

Yes, i've try (ver 5.02), it's a great program, very easy to use.

I try it on Storms server (in French, and with cl_language English) without problem.

@++

Landiin 06-23-2009 12:51 PM

cool you got it..

But I meant to actually change your system to that language and go collect some locs so you could see the way it put them for your self.. :P


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

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