Raised This Month: $51 Target: $400
 12% 

SM Parachute


Post New Thread Reply   
 
Thread Tools Display Modes
Jejowaty
Junior Member
Join Date: Feb 2014
Old 09-04-2014 , 19:44   Re: SM Parachute
Reply With Quote #621

But I would like to keep/get multi-lang in this plugin (EN for EN players, DE for DE players PL for PL players). Not only 1 lang.... Any idea how to fix this?
Jejowaty is offline
Jejowaty
Junior Member
Join Date: Feb 2014
Old 09-05-2014 , 10:23   Re: SM Parachute
Reply With Quote #622

Polish translation
Attached Files
File Type: txt sm_parachute.phrases.txt (4.8 KB, 128 views)
Jejowaty is offline
GPhoenix97
Member
Join Date: Oct 2012
Location: Poland
Old 09-05-2014 , 12:48   Re: SM Parachute
Reply With Quote #623

Quote:
Originally Posted by GPhoenix97 View Post
Hi!

I'm uploading polish translation. Put it in sourcemod/translations/pl

https://forums.alliedmods.net/showpo...&postcount=531
__________________
GPhoenix97 is offline
Jejowaty
Junior Member
Join Date: Feb 2014
Old 09-05-2014 , 13:14   Re: SM Parachute
Reply With Quote #624

Tak, widziałem to. Problem w tym, że tłumaczenie przez Ciebie zamieszczone nie działa tak jak powinno - nie z Twojej winy. By twoja wersja działała w języku PL to trzeba zostawić ją ze znacznikiem "en" a nie "pl" - co też uczyniłem.

Plik który ja zmieściłem ma posłużyć do globalnej obsługi języka - jeśli autor zamierza w ogóle ją dodać.

--

Yes, I saw it. The problem is that the translation You posted is not working as it should - is not Your fault. One change is needed in to your version to work properly with PL language - we need to keep "en" tag, not "pl" tag - which I did. Then all work fine.

The file which I added is for propping global language support - if the author intends to add it at all.
Jejowaty is offline
GPhoenix97
Member
Join Date: Oct 2012
Location: Poland
Old 09-05-2014 , 13:23   Re: SM Parachute
Reply With Quote #625

Quote:
Originally Posted by GPhoenix97 View Post
Put it in sourcemod/translations/pl
__________________

Last edited by GPhoenix97; 09-05-2014 at 13:33. Reason: bold
GPhoenix97 is offline
Jejowaty
Junior Member
Join Date: Feb 2014
Old 09-05-2014 , 13:39   Re: SM Parachute
Reply With Quote #626

Yes, I know and as I said before, not working.

When I use sm_parachute.phrases_pl.txt (of course without "_pl" on the end in file name and in properly folder: ...sourcemod/translations/pl) then I see EN message.

But when I use sm_parachute.phrases_en.txt (of course without "_en" on the end in file name and in properly folder: ...sourcemod/translations/pl) then all work fine and I see PL message.

I tested this few times to be sure, trust me.
Attached Files
File Type: txt sm_parachute.phrases_pl.txt (1.3 KB, 97 views)
File Type: txt sm_parachute.phrases_en.txt (1.3 KB, 94 views)

Last edited by Jejowaty; 09-05-2014 at 13:41.
Jejowaty is offline
GPhoenix97
Member
Join Date: Oct 2012
Location: Poland
Old 09-05-2014 , 13:46   Re: SM Parachute
Reply With Quote #627

Alrighty then, check what value is set for AllowClLanguageVar in configs/sourcemod/core.cfg.If it's set to On then it's ok. Then check ServerLang just to be sure. Next check what value is set for your client console var named cl_language.
__________________
GPhoenix97 is offline
Jejowaty
Junior Member
Join Date: Feb 2014
Old 09-05-2014 , 14:06   Re: SM Parachute
Reply With Quote #628

Ha, thx for this, my mistake. I forget about "ServerLang". However other plugin which I use work properly with "pl" translation even if "ServerLang" is set "en" - this probably "lulled my vigilance".

Regards
Jejowaty is offline
GPhoenix97
Member
Join Date: Oct 2012
Location: Poland
Old 09-05-2014 , 14:14   Re: SM Parachute
Reply With Quote #629

No problem. Yes, indeed I encountered that problem myself too with other plugins/translations but only if other player joins with different cl_language cvar some of phrases are changed to his prefered one. Glad I could help you.
__________________
GPhoenix97 is offline
Jejowaty
Junior Member
Join Date: Feb 2014
Old 09-05-2014 , 15:06   Re: SM Parachute
Reply With Quote #630

hmm..., unfortunately, this solution does not satisfy me - after few test. I have multi-language servers, so I need to be sure, that if some1 from DE, FR, NL or other country conect to my servers, then he will get message in OWN language. Thats why I can't use "ServerLang" "pl", I need to keep as default - "en" and then use translate. For example, SmacBans plugin work properly with any client language, and this is what I need.

Some1 can fix/re-code this plugin to use with other language which are added in sm_parachute.phrases.txt (includin PL version which I add few post before)?

I don't know, maybe this problem is beacuse I use CS:GO version..., but true is, that always - no matter which client version players use, info is always in EN. And if I use "ServerLang" "pl" then all players, from all country get info in PL language...

I would like to use those files (it's cs:go version + cfg auto creator on plugin start code):
Attached Files
File Type: txt sm_parachute.phrases.txt (4.8 KB, 134 views)
File Type: sp Get Plugin or Get Source (sm_parachute.sp - 327 views - 19.7 KB)

Last edited by Jejowaty; 09-05-2014 at 16:02.
Jejowaty is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode