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

Weird problem with translations


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hoycieto
Senior Member
Join Date: Feb 2018
Old 06-24-2018 , 04:27   Weird problem with translations
Reply With Quote #1

Hi, I wanted to make my server with fully polish and english supprt language. So for my own plugins I did some translations but here are some weird problems... In core.cfg ServerLang is en (I will it as default option for every country, just people from Poland will get another translations), AllowClLanguageVar is on, phrases files are good, in plugins everything seems okay (I've checked like a 20 times...), no error logs. And my problem looks like that: in plugin I have code like this:
HTML Code:
CPrintToChatAll("\x01 \x02 [PLUGIN] %t", "phrases1",BSAL);
PrintHintTextToAll("%t","phrases2", BSAL);
and first line of above will show in english but second line - in polish as it should be.
For colors in translations I'm using multicolors library.
Any ideas? ;-;
hoycieto is offline
hoycieto
Senior Member
Join Date: Feb 2018
Old 06-24-2018 , 11:55   Re: Weird problem with translations
Reply With Quote #2

I think the problem is in CPrintToChatAll function, I shoould to use CPrintToChat instead but how can I get client for example in this plugin: https://forums.alliedmods.net/showthread.php?t=151564 ?
hoycieto is offline
Reply


Thread Tools
Display Modes

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 06:35.


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