Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2008-05-16 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
May 16, 2008, 01:25:52 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Current Official Servers:
#1 - 207.210.236.112:27015 Location US
#2 - 85.190.38.232:27015 Location Amsterdam
| Tick@100 | wcs 0.77 | Mani |
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Python Scripts Translation  (Read 85 times)
Zumble
Level 6 Experienced
*****
Offline Offline

Russian Federation

Posts: 141


o_O


WWW
zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« on: May 09, 2008, 01:54:47 PM »

I want to translate one python script into russian. How can I make the encoding to non-english?
Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 367



WWW
beastrace91
« Reply #1 on: May 09, 2008, 10:38:17 PM »

Langlib - http://python.eventscripts.com/pages/Langlib

Is useful for this kind of thing.

~J3ff
Logged

Zumble
Level 6 Experienced
*****
Offline Offline

Russian Federation

Posts: 141


o_O


WWW
zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« Reply #2 on: May 10, 2008, 11:49:48 AM »

o_O That's hard for me Shall I use strings.ini with a special encoding?
BTW,Jeff,where did you get the idea of making Crysis addon? ]:->
« Last Edit: May 10, 2008, 11:55:44 AM by Zumble » Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 367



WWW
beastrace91
« Reply #3 on: May 10, 2008, 02:03:37 PM »

Someone posted the idea in a requests forum on the mattie site and after it sat there for like 2 months I finally picked it up and wrote it out. Alot of scripters don't want anything that complex but I like interesting every now and then Don't forget to +w00t it if you like it

~J3ff
Logged

Zumble
Level 6 Experienced
*****
Offline Offline

Russian Federation

Posts: 141


o_O


WWW
zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« Reply #4 on: May 13, 2008, 06:52:27 PM »

I want to translate bank written in python by bonbon but have faced few difficulties.
1)There is a file strings.ini.How can I set what language should the script use?For example I want to use russian instead of english.
2)Author didn't add strings for pop-up menu in bank but I want to translate them too.What and how should I modify?.Here is the code
Code:
mainmenu.addoption('Deposit', 'Deposit')
or
depositmenu = popuplib.easymenu('Deposit', '_popup_choice', deposit_select)
3)Also there is a separate file - the bank config.May I use strings there to translate too?
Like "text('deposit', tokens, playerlib.getPlayer(self.userid).get('lang'))"
Logged

Zumble
Level 6 Experienced
*****
Offline Offline

Russian Federation

Posts: 141


o_O


WWW
zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« Reply #5 on: May 14, 2008, 11:46:45 AM »

Any help,for brave translators? =(
Logged

Jeff
WCS ESP Dev Team
Level 7 Expert

Offline Offline

United States United States

Posts: 367



WWW
beastrace91
« Reply #6 on: May 14, 2008, 11:08:44 PM »

The only way to make menus multi-lingual are to recompile before you send it to each user... it gets complex to say the least

~J3ff
Logged

Zumble
Level 6 Experienced
*****
Offline Offline

Russian Federation

Posts: 141


o_O


WWW
zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« Reply #7 on: May 15, 2008, 02:43:48 PM »

*crying* =((
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
May 15, 2008, 05:42:44 PM
I know but the beta is so buggy
May 15, 2008, 12:25:09 AM
lol don't hold your breath on ES 2.0 no being beta... ES1.5 was 'beta' for months after what is now the final build was posted.

~J3ff
May 14, 2008, 02:31:45 PM
TY I will add more than..I am slowly rewriting them all for 0.77 and when es2.0 becomes non beta i will prolly switch to python
May 12, 2008, 09:29:06 PM
@TeacherCreature: Downloads approved
May 12, 2008, 02:54:38 PM
ty
May 12, 2008, 02:32:44 PM
Congratz
May 12, 2008, 02:01:38 AM
I got a FAST DL server  - YAY
Recent
[Today at 01:13:08 AM]

by SoNo
[Today at 12:20:09 AM]

[May 15, 2008, 10:59:38 PM]

[May 15, 2008, 10:34:33 PM]

[May 15, 2008, 09:30:19 PM]

[May 15, 2008, 09:03:04 PM]

[May 15, 2008, 08:06:33 PM]

[May 15, 2008, 07:03:32 PM]

[May 15, 2008, 06:47:35 PM]

[May 15, 2008, 06:43:15 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.04 seconds with 25 queries.