Author Topic: Help translate AdrenalineX  (Read 12097 times)

0 Members and 1 Guest are viewing this topic.

Offline Lakia

  • Posts: 19
  • Hitler + BunnyHead + Toxic Gas Room = ?
    • View Profile
Re: Help translate AdrenalineX
« Reply #75 on: January 11, 2010, 09:04:34 am »
Chinese (Simplified)

警告:
请不要抢玩家的车
如果要一量新车 , 请输入 /nc 或 /newcar

要修车请输入 /vr , 如果车辆翻了 , 输入 /f 就能把车子返回

Chinese (Traditional)

警告:
請不要搶玩家的車
如果要一量新車,請輸入/nc或/newcar

要修車請輸入/vr ,如果車輛翻了,輸入/f就能把車子返回

Edit: Now let's see and it's working :D
Looks like theres some chinese here :P
PS: I'm from Hong Kong , China
Error: Cannot Be Determined
錯誤:  無法識別

Offline [MAF]Aj_Lajk_Bir

  • Admin
  • Posts: 5,031
    • View Profile
Re: Help translate AdrenalineX
« Reply #76 on: January 11, 2010, 09:33:20 am »
Ni hao Lakia  ;D

Offline Lakia

  • Posts: 19
  • Hitler + BunnyHead + Toxic Gas Room = ?
    • View Profile
Re: Help translate AdrenalineX
« Reply #77 on: January 11, 2010, 02:20:35 pm »
Error: Cannot Be Determined
錯誤:  無法識別

Offline slowdoh

  • Admin
  • Posts: 361
  • GO HARD OR GO HOME!
    • View Profile
    • 2F2F
Re: Help translate AdrenalineX
« Reply #78 on: January 11, 2010, 02:26:03 pm »
Luckily he isn't :( but I am :| although I don't speak or know how to write any of it :L

edit: I'm going to hong kong this summer uhm and china :D
« Last Edit: January 11, 2010, 02:33:53 pm by [UK]slowdoh »

Offline Zecko

  • Posts: 13
    • View Profile
Re: Help translate AdrenalineX
« Reply #79 on: April 04, 2010, 12:41:34 am »
In French

Avertissement:
Ne volez pas les véhicules
Pour faire apparaître un véhicule, tapez
/nc ou /newcar


/VR pour réparer la voiture, /F pour la remettre sur les roues

Offline Bob Cratchet

  • Admin
  • Posts: 1,597
    • View Profile
Re: Help translate AdrenalineX
« Reply #80 on: June 04, 2010, 02:15:24 pm »
Did this die on it's arse then?

Offline [MAF]mooman

  • Leader
  • Posts: 6,286
    • View Profile
Re: Help translate AdrenalineX
« Reply #81 on: June 04, 2010, 02:55:48 pm »
yeah, it only really made progress when r was internet-less and i was doing the coding. i tried implementing a proper language system so that everything could be translated after that but i couldn't get it to work and no one else seemed to care :(
will read and answer your forum PMs when I'm less busy!

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,801
  • Well, this is embarrassing.
    • View Profile
Re: Help translate AdrenalineX
« Reply #82 on: June 04, 2010, 02:57:41 pm »
Script is massive, too much text puts me off attempting if. Needs to be done though, I want to.

Just gotta get it done quick, test it to see if it handles ok.
Just don't fancy linking all the text, then to find out it's to much of a resource hog

Offline [FSR]Ush

  • Admin
  • Posts: 13,449
  • Aart
    • View Profile
Re: Help translate AdrenalineX
« Reply #83 on: June 04, 2010, 03:09:39 pm »
Did this die on it's arse then?

What you gonna translate :L

Offline Bob Cratchet

  • Admin
  • Posts: 1,597
    • View Profile
Re: Help translate AdrenalineX
« Reply #84 on: June 04, 2010, 03:25:28 pm »
Script is massive, too much text puts me off attempting if. Needs to be done though, I want to.

Just gotta get it done quick, test it to see if it handles ok.
Just don't fancy linking all the text, then to find out it's to much of a resource hog

Script may be massive, and i have no idea how it is structured (messy i guess :p ) but surely the only bit you need to worry about is the bit in /help?

Then just add a command that admins can use called /givehelp ID that opens the help up on a users screen so they can then read themselves (in case they don't understand us telling them they need to type in /help)

Or what you could do it find the 2nd largest language on samp by IP connections and code that and then get a racer to help you find all the important bits that need translating. Once it works for 1 other language, look at doing the others?

Offline [MAF]mooman

  • Leader
  • Posts: 6,286
    • View Profile
Re: Help translate AdrenalineX
« Reply #85 on: June 04, 2010, 03:47:41 pm »
Script is massive, too much text puts me off attempting if. Needs to be done though, I want to.
i'd be happy to help with replacing text with references (or whatever they're called)

if we could have a text file for every language and then we gave each text file to one of our admins who's fluent in that language, i think we could quickly have it done. together with the country detector thing and a menu that lets people choose the language from their local language(s) or english, i'm sure we'd have wayyy more players. i don't think text files really use resources.

examples:

English.txt:
Code: [Select]
1=Hello %s!
etc

French.txt
Code: [Select]
1=Bonjour %s!
etc

then when someone joins the %s would (hopefully) get replaced with their name.
will read and answer your forum PMs when I'm less busy!

Offline [FSR]Ush

  • Admin
  • Posts: 13,449
  • Aart
    • View Profile
Re: Help translate AdrenalineX
« Reply #86 on: June 04, 2010, 05:07:40 pm »
eek mooman is a french guy

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,801
  • Well, this is embarrassing.
    • View Profile
Re: Help translate AdrenalineX
« Reply #87 on: June 04, 2010, 05:24:00 pm »
Nearly 5,000 posts Ush  :P

Loading from a file, 1 line at a time, for all, does seem a bit too much.  I would load the files you mentioned, for each country. Store to an array. The menu you mentioned, but give values of 0-6 (total languages support). Label it COUNTRY_ID

Then... this is the long pain the arse bit... give each SendClientMessage(, all dialog text an increase value.
TEXT_D

SecondClientMessage( player, colour, getArrayText[ COUNTRY_ID ] [ TEXT_D ]

It's big.



Offline [MAF]mooman

  • Leader
  • Posts: 6,286
    • View Profile
Re: Help translate AdrenalineX
« Reply #88 on: June 04, 2010, 05:40:35 pm »
eek. couldn't it only read from the text file when it needs to?
will read and answer your forum PMs when I'm less busy!

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,801
  • Well, this is embarrassing.
    • View Profile
Re: Help translate AdrenalineX
« Reply #89 on: June 04, 2010, 06:03:18 pm »
I think so, I'll try it with the main text, see how handles. Don't really want to edit too much, just in case