SRL Archive - Help

Translating scripts


swisspking

2009-12-20 06:26:09

If there are interests i could translate some scripts (working on english worlds) into scripts working on other-languages-worlds (already tried that with an autominer [worked!]).
I found out that especially in French worlds there are less people(–> e.g. more rocks for you). The thing is, random solvers wouldn't work. But I think if you're autoing right you shouldn't get randoms.

~Swiss

YoHoJo

2009-12-20 06:30:42

Ohh, you just want to make any text functions (Like uptext, getchat etc) work on servers in different languages! I get it, that would be pretty cool, but we don't really need a translator for that, we can just put our mouse on the rock/object and read the text ourselves, but thanks anyways! :p

Well, you get randoms no matter what, but if you auto smarter you should get less randoms.

weequ

2009-12-20 06:45:07

From: YoHoJo
Ohh, you just want to make any text functions (Like uptext, getchat etc) work on servers in different languages! I get it, that would be pretty cool, but we don't really need a translator for that, we can just put our mouse on the rock/object and read the text ourselves, but thanks anyways! :p

Well, you get randoms no matter what, but if you auto smarter you should get less randoms.
I think he means making the random solvers able to solve french randoms. That wouldn't be impossible at all. I like the idea ;)

swisspking

2009-12-20 06:52:01

Well, I think even the random-solver-translation shouldn't be too hard. I could do it if people need it.

For the autoing-scripts: Take this as a suggestion :)

Btw: Sorry if my English and my tries-to-explain-something are hard to understand — I'm not English

~Swiss

YoHoJo

2009-12-20 06:55:48

Anti: He meant scripts AND random solvers, both can be done by us , but its a nice offer. And there do tend to be less people on other language worlds =D

swisspking

2009-12-20 06:59:05

From: YoHoJo
And there do tend to be less people on other language worlds =D


Just until our random solvers/autoing scripts are updated haha.

Sir R. M8gic1an

2009-12-20 07:01:01


var
TextArray: TStringArray;

const
L_ENGLISH = 0;
L_FRENCH = 1;
L_GERMAN = 2;

T_HELLO = 0;

procedure LoadTextArray(lang: integer);
begin
case lang of
L_ENGLISH:
TextArray[T_HELLO] := 'Hello';
L_FRENCH:
TextArray[T_HELLO] := 'bonjour';
end;
end;

if FindText(TextArray[T_HELLO]) then
//...

~RM

Death-Magnetic

2009-12-20 10:13:49

If you enter a German world, for example, is everything written on Germany? Cuz I thought it wasn't

swisspking

2009-12-20 15:14:04

In German worlds everything is written in German. Same for other languages. It even translates Quickchat into these languages btw :)

~Swiss

Death-Magnetic

2009-12-21 06:14:41

From: swisspking
In German worlds everything is written in German. Same for other languages. It even translates Quickchat into these languages btw :)

~Swiss


That's cool.
I thought every world still was ''written'' in English.

Dervish

2009-12-21 16:25:58

I'm french so I could help out with this.

gwenmacer

2010-08-13 13:33:05

It sounds col. I was looking for such from a long time. Hope you will work as per my expectations. It should b qualitative and quantitative both.