Thread: [Solved] Problems languages
View Single Post
slumdog18
Member
Join Date: Feb 2021
Old 04-05-2021 , 12:35   Re: Problems languages
Reply With Quote #5

Quote:
Originally Posted by Marttt View Post
yes what I mean is:

if you have "{1}" (for example) in your translation file probably you must have a "#format" "{1:N}" clause too

Sample:

PHP Code:
    "Sample Format"
    
{
        
"#format"        "{1:N}"
        "en"            "{orange}{1} {lightgreen}is my name"
        "es"            "{orange}{1} {lightgreen}es mi nombre"
        "pt"            "{orange}{1} {lightgreen}é meu nome"
        "pt_p"            "{orange}{1} {lightgreen}é meu nome"
    

And in your backend code probably you will have something like this:

PHP Code:
CPrintToChat(client"%t""Sample Format"client); 
ok, so what is the file called that i have to make this change, and what probe is it in?
slumdog18 is offline