Traduction Plugin Filefield

11 years 4 months ago #214898 by selor
Traduction Plugin Filefield was created by selor
Hi guys :)

where could i traduce in french the file words informations produced in frontend when a user use the fonctionnality all is in English.

I have the Fr plugin installed and working for the rest. Which file Edit ?

Thanks
Attachments:

Please Log in to join the conversation.

11 years 4 months ago #214921 by selor
Replied by selor on topic Re: Traduction Plugin Filefield
any idea or help pliz ?

Please Log in to join the conversation.

11 years 4 months ago #214926 by nant
Replied by nant on topic Re: Traduction Plugin Filefield

selor wrote: Hi guys :)

where could i traduce in french the file words informations produced in frontend when a user use the fonctionnality all is in English.

I have the Fr plugin installed and working for the rest. Which file Edit ?

Thanks


That text should be translated in your French Community Builder plugin files.

Please Log in to join the conversation.

11 years 4 months ago #214927 by selor
Replied by selor on topic Re: Traduction Plugin Filefield
Hi and thanks but could you point me to the right file ?

Please Log in to join the conversation.

11 years 4 months ago #214931 by selor
Replied by selor on topic Re: Traduction Plugin Filefield
or ok i assume its in component/com_comprofiler/plugins/language/fr-fr
But in which file and what CBTxt::addStrings( array( or in which file pliz ??

Thanks

Please Log in to join the conversation.

11 years 4 months ago - 11 years 4 months ago #214936 by selor
Replied by selor on topic Re: Traduction Plugin Filefield
For those who doesn'twant just à "it could be in the traduction folder ...somewhere ......." this is the solution :

1 -On Community builder Admin > Intégration
Activate the "Here you can highlight and debug your translations in various ways."
And maybe the "Debug mode of joomla with to see if everything working.

2 -now go to your page where it seems to need chain for traduce

3 - Go at the bottom of the page you will see all non traduced fields. The ones with a - in place of a text for example "text" -


4 - Open your language file :
Example for a french Trad of à plugin :

in component/com_comprofiler/plugin/language/fr-fr/language.php or
component/com_comprofiler/plugin/language/fr-fr/cbteamplugins_language.php

Open one and for example this is what you need for traducing in friench the frontend for "file Field" plugin :

Add this to your code :
// ========================
// CB File Field plugin:
// ========================
CBTxt::addStrings( array(

'Previous' => 'Précédent',
'Next' => 'Suivant',
'Register' => 'Inscription',
'Not a valid input' => 'Entrée invalide',
'No file' => 'Pas de Fichier.',
'No change of file' => 'Pas de changement de fichier.',
'Upload new file' => 'Envoyer un nouveau Fichier',
'Upload file' => 'Envoyer un Fichier',
'Remove file' => 'Supprimer le Fichier',
'Select file' => 'Selectionner un Fichier.',
'Your file must be of [ext] type and should exceed [min] KB, but not [max] KB' => 'Votre fichier doit être du type [ext] et doit avoir un poids entre [min] KB et [max] KB',
'Terms and Conditions' => 'Règles et Conditions',
'By uploading, you certify that you have the right to distribute this file and that it does not violate the [toc].' => 'En envoyant ce fichier vous certifiez que vous en avez les droits et que celà ne viole pas les [toc].',
'By uploading, you certify that you have the right to distribute this file.' => 'En envoyant ce fichier vous certifiez que vous avez le droit de le distribuer.',
));

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.702 seconds