Register for your free account! | Forgot your password?

You last visited: Today at 02:12

  • Please register to post and access all features, it's quick, easy and FREE!

 

[MEGA RELEASE]MultiLanguage System for Client

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2013
Posts: 27
Received Thanks: 119
[RELEASE]MultiLanguage System for Client

----EN----

Hello , i decided to posted multilanguage system (maded for metin2dr)The system allow to change the language of your client,this system was created in 20-30 min .You only need a locale for each language.The implementation of this system is very simple, but i have made a videotutorial also .


----ES----

Hola , me decidi postear el sistema multi-idioma echo para metin2dr.Este sistema permite cambiar el idioma de tu cliente rapido,fue echo en 20-30 minutos.Solo se necesita un locale para cada idioma.La implementacion en si,es simple,pero hize un videotutorial por si tenei dudas al respecto.

Video Tutorial:


Source:
Attached Files
File Type: zip MultiLanguage TheWarez.zip (2.4 KB, 1433 views)



.Eugen is offline  
Thanks
31 Users
Old   #2

 
elite*gold: 707
Join Date: Oct 2011
Posts: 7,275
Received Thanks: 7,459
Nice. Thx 4 share, it's very usefull.


Aze /.. is offline  
Old   #3
 
elite*gold: 5
Join Date: Oct 2013
Posts: 1,021
Received Thanks: 285
wow ... very great ! thank you very much !
.Zekay™ is offline  
Old   #4
 
elite*gold: 200
Join Date: Apr 2012
Posts: 577
Received Thanks: 290
Drop something to the ground


MartPwnS is offline  
Old   #5
 
elite*gold: 0
Join Date: Jun 2011
Posts: 736
Received Thanks: 498
Nice And thanks for sharing
NaOiZ is offline  
Old   #6
 
elite*gold: 0
Join Date: Nov 2013
Posts: 401
Received Thanks: 132
You must register and activate your account in order to view images.
Mr.Xhater is offline  
Old   #7
 
elite*gold: 0
Join Date: Oct 2013
Posts: 27
Received Thanks: 119
Quote:
Originally Posted by Mr.Xhater View Post
You need a locale for each language.
.Eugen is offline  
Old   #8
 
elite*gold: 0
Join Date: Mar 2012
Posts: 646
Received Thanks: 693
rwwwr *___* Nice.
Kind regards
QuickFlameZ is offline  
Old   #9
 
elite*gold: 0
Join Date: Nov 2013
Posts: 401
Received Thanks: 132
You must register and activate your account in order to view images.
Mr.Xhater is offline  
Old   #10
 
elite*gold: 100
Join Date: Jun 2009
Posts: 161
Received Thanks: 681
Quote:
"mega release"
I wanna show you something very funny:
Quote:
Originally Posted by dat cancer#1
Code:
import net		#unused
import snd		#unused
import locale	#unused
import ui
import uiTip	#unused
import dbg
import os
import app
> 2 days left until 2014
> NO ONE knows what is python
Code:
	def SAFE_SetEvent(self, func, *args):
		self.eventFunc = __mem_func__(func)
		self.eventArgs = args
		
	def SetEvent(self, func, *args):
		self.eventFunc = func
		self.eventArgs = args
SetEvent accepts a tuple of arguments so there's no need to create 4 defs like those below.
Quote:
Originally Posted by dat cancer#2
Code:
	def __Language_1(self):
		file = open("locale.cfg", "w")
 		file.write("10002 1252 en") 
		file.close()
		dbg.LogBox("The laguage of client was changed to English!")
		dbg.LogBox("Client will restart.")
		os.system('start Metin2.exe')
		app.Exit()
		self.Close()
	
	def __Language_2(self):
		file = open("locale.cfg", "w")
 		file.write("10002 1252 it") 
		file.close()
		dbg.LogBox("The laguage of client was changed to Iatly!")
		dbg.LogBox("Client will restart.")
		os.system('start Metin2.exe')
		app.Exit()
		
	def __Language_3(self):
		file = open("locale.cfg", "w")
 		file.write("10002 1252 de") 
		file.close()
		dbg.LogBox("The laguage of client was changed to Germany!")
		dbg.LogBox("Client will restart.")
		os.system('start Metin2.exe')
		app.Exit()
		
	def __Language_4(self):
		file = open("locale.cfg", "w")
 		file.write("10002 1252 es") 
		file.close()
		dbg.LogBox("The laguage of client was changed to Spanish!")
		dbg.LogBox("Client will restart.")
		os.system('start Metin2.exe')
		app.Exit()
I hope you'll appreciate this little advice. (there are more things I could add)
lollo_9_1 is offline  
Thanks
5 Users
Old   #11
 
elite*gold: 0
Join Date: Apr 2013
Posts: 40
Received Thanks: 12
Hi, your system is very nice but if i change language so serverinfo.py has this problem:
Code:
 if (locale.IsEUROPE() and app.GetLocalePath() == "locale/de"):
	STATE_NONE = "..."
And locale/de isnt change on locale/it Can you help me please? Thank you very much.
HsNecro is offline  
Old   #12
 
elite*gold: 100
Join Date: Jun 2009
Posts: 161
Received Thanks: 681
Quote:
Originally Posted by HsNecro View Post
Hi, your system is very nice but if i change language so serverinfo.py has this problem:
Code:
 if (locale.IsEUROPE() and app.GetLocalePath() == "locale/de"):
	STATE_NONE = "..."
And locale/de isnt change on locale/it Can you help me please? Thank you very much.
Delete that if statement or do something like this: (or post that file)
Code:
 if (locale.IsEUROPE() and app.GetLocalePath() in ("locale/de","locale/en","locale/es","locale/it")):
	STATE_NONE = "..."
lollo_9_1 is offline  
Thanks
1 User
Old   #13
 
elite*gold: 5
Join Date: Dec 2011
Posts: 1,808
Received Thanks: 942
1230 18:51:00549 :: Failed to load script file : UIScript/PopupDialog.py
1230 18:51:00552 ::
ui.py(line:2773) LoadScriptFile
system.py(line:192) execfile
system.py(line:161) Run
system.py(line:176) __LoadTextFile__
system.py(line:64) __init__

LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'NoneType' object has no attribute 'split'
*~.ιηνιη˘ιвℓє.~* is offline  
Old   #14

 
elite*gold: 300
Join Date: Apr 2013
Posts: 3,203
Received Thanks: 1,201
Wow, it's very helpfull
ty
#Saiirex is offline  
Old   #15
 
elite*gold: 0
Join Date: Jan 2011
Posts: 13
Received Thanks: 1
How to translate quests?


hsomy is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
[Mega Release]IntroLogo Client Tutorial
-----EN----- Hello, I decided make public the IntroLogo sistem of Metin2DR. This system allows put images when you start the client. First...
57 Replies - Metin2 PServer Guides & Strategies
[Release] PixelStealth (Multilanguage Palladium Pixel Bot)
Hello I am Patrik and I created and edited easy palladium bot which is free for everyone :) http://i.imgur.com/OyCFsVl.png Why PixelStealth? My...
144 Replies - DarkOrbit
[MEGA RELEASE]Automatic Ox-Event System
--]-- quest oxevents begin state start begin function open() if(oxevent.open() == 0) then return 0 elseif(oxevent.open() == 1) then...
25 Replies - Metin2 PServer Guides & Strategies
Perfect World Multilanguage Service(MS) Working Multi Client
its only a multi client for pwms. enjoy ;)
0 Replies - Perfect World



All times are GMT +1. The time now is 02:12.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.