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

Translations doesn't work


Post New Thread Reply   
 
Thread Tools Display Modes
OziOn
Senior Member
Join Date: Jan 2008
Old 07-12-2009 , 08:56   Re: Translations doesn't work
Reply With Quote #11

Mine is danish. But not all the clients that play on my servers speak danish.
OziOn is offline
OziOn
Senior Member
Join Date: Jan 2008
Old 07-15-2009 , 09:23   Re: Translations doesn't work
Reply With Quote #12

*bump*
OziOn is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 07-15-2009 , 20:31   Re: Translations doesn't work
Reply With Quote #13

If a translation is to take into account the client's cl_language, I think that only works when the client is specified... like in PrintToChat(client "%t" "phrase")

i'll take a look though, and maybe make my thing more accommodating

OOh i thinks i figured it out... in my plugin, i put LANG_SERVER on all my stuff, forcing the phrase to whatever the server is set, just have to take those off, and shizzam, multilingual
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 07-15-2009 at 21:14.
BrutalGoerge is offline
OziOn
Senior Member
Join Date: Jan 2008
Old 07-19-2009 , 12:16   Re: Translations doesn't work
Reply With Quote #14

Quote:
Originally Posted by BrutalGoerge View Post
OOh i thinks i figured it out... in my plugin, i put LANG_SERVER on all my stuff, forcing the phrase to whatever the server is set, just have to take those off, and shizzam, multilingual
It still doesn't work for me >_<
What the hell am I doing wrong?! I'm using the latest version of your scramble plugin BG, and every phrase is still in english -_^

Looking in core.cfg and judging by the description of "ServerLang", it doesn't look like it's even possible for 3rd party plugins to be multilingual...

Quote:
/**
* Language that multilingual enabled plugins and extensions will use to print messages.
* Only languages listed in languages.cfg are valid.
*
* The default value is "en"
*/
"ServerLang" "en"
OziOn is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 07-19-2009 , 21:37   Re: Translations doesn't work
Reply With Quote #15

what about this

Code:
    /**
     * Enables or disables whether SourceMod reads a client's cl_language cvar to set 
     * their language for server-side phrase translation.
     *
     * "on"        - Translate using the client's language (default)
     * "off"    - Translate using default server's language
     */
    "AllowClLanguageVar"        "On"
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
OziOn
Senior Member
Join Date: Jan 2008
Old 07-20-2009 , 06:52   Re: Translations doesn't work
Reply With Quote #16

Quote:
Originally Posted by BrutalGoerge View Post
what about this

Code:
    /**
     * Enables or disables whether SourceMod reads a client's cl_language cvar to set 
     * their language for server-side phrase translation.
     *
     * "on"        - Translate using the client's language (default)
     * "off"    - Translate using default server's language
     */
    "AllowClLanguageVar"        "On"
That's also set to "ON" in my .cfg.
All the official SourceMod plugins are being correctly translated, but none of the 3rd party plugins are.
OziOn 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 07:43.


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