Hello,
Is it possible to translate projects names?
I've tried to do it in custom_strings_inc.php, but it does not work while it works when i translate custom fields.
Thaks for your reply.
Joselyne
Projects names translation
Moderators: Developer, Contributor
Re: Projects names translation
How did you try to code it?
Re: Projects names translation
Suppose the name of the project is "Gestion" in french. I add the following to the custom_strings_inc.php file:
switch($g_active_language){
case 'french' :
$s_gestion = 'Gestion';
break;
case 'italian':
$s_gestion = 'Gestione';
break;
default:
//default is english
$s_gestion = 'Managment';
break;
}
switch($g_active_language){
case 'french' :
$s_gestion = 'Gestion';
break;
case 'italian':
$s_gestion = 'Gestione';
break;
default:
//default is english
$s_gestion = 'Managment';
break;
}
Re: Projects names translation
With the custom_fields you are not changing the value of a field but only the fieldname. Since you are trying to translate the contents of a db-field, this is not going to work.
Re: Projects names translation
How can i do this then?
Re: Projects names translation
What I used to do was:
a. use an internationally recognized project-name
b. Standardize on one, main, language
a. use an internationally recognized project-name
b. Standardize on one, main, language