Home › Forums › Additional Help › Translations › Problem with french translation of terms
- This topic has 8 replies, 1 voice, and was last updated 10 years, 6 months ago by
George.
-
AuthorPosts
-
September 29, 2015 at 5:03 am #1009562
Jean-Pierre Trésegnie
GuestI want to translate the title ” event category” in ” category of the event ” in the detailed view of an event.
Here is an example : http://www.debrouillart.be/lesimprobables/event/spectacle-dimpro-cite-miroir/
I expected to find this title in the language file ( the- event- calendar- fr_FR.php ) but it is not there .
I checked in all php files and I found nothing .
Could you help me resolve this issue?
Thanks.
Jean-PierreSeptember 29, 2015 at 6:07 am #1009580George
ParticipantI’m sorry to hear about these troubles on your site, Jean-Pierre!
This could happen because your translation files for The Events Calendar and its premium add-ons are out-of-date, which might be the case with your site.
To test if this is the case, I’d recommend making sure you have updated translation files for The Events Calendar, check this article out for how to do that:
To learn how to get updated translation files for any of our Premium plugins instead, check this article out:
https://theeventscalendar.com/knowledgebase/adding-or-updating-a-translation/Using the articles above, make sure that your translation files for The Events Calendar and for any premium Tribe add-on (Events Calendar Pro, Community Events, etc.) are all up to date, and then let us know if issues persist.
Cheers!
GeorgeSeptember 29, 2015 at 7:25 am #1009650Jean-Pierre Trésegnie
GuestHello George,
Thanks for your help !
I updated the .po and .mo files for the French language.
Very strange way, it did not change anything for my translation.
The term ” événément category” is still present (with an error because , in French, the word ‘ événément ‘ is written ‘ événement ‘).
I wanted to correct that mistake myself in the .po file, but I can not find the term ” événément category” ) !
What is this mystery? 🙂
Jean PierreSeptember 30, 2015 at 9:50 am #1010089George
ParticipantHey Jean,
Did you do that for just The Events Calendar, or for premium add-ons, too?
If possible, can you link directly to where your .po and .mo files are from? If there is something missing because of a code problem on our end, I will log it as a bug and we will fix it in an upcoming release.
Thank you!
GeorgeOctober 5, 2015 at 5:01 am #1011369Fabien Burg
GuestHi jean-Pierre,
Finally, how did you resolve this ?
Cause I’ve got the same problem, see here :
https://drive.google.com/file/d/0BxrvJnA9Me_KalVIQV9sREpqSWc/view?usp=sharingURL : http://www.villecomtal.fr/evenement/boeuf-musical-avec-les-violons-de-lautomne/
Thanxs !
October 5, 2015 at 5:01 am #1011370Fabien Burg
GuestHi jean-Pierre,
Finally, how did you resolve this ?
Cause I’ve got the same problem, see here :
https://drive.google.com/file/d/0BxrvJnA9Me_KalVIQV9sREpqSWc/view?usp=sharingURL : http://www.villecomtal.fr/evenement/boeuf-musical-avec-les-violons-de-lautomne/
Thanxs !
October 6, 2015 at 6:16 am #1011829George
ParticipantHey Fabien!
I’m not Jean, of course, but wanted to chime in anyways to get you a speedier response – Jean claims to have updated the .po and .mo plugin files (“I updated the .po and .mo files for the French language”).
Changing the .po and .mo files is, unfortunately, pretty much the only way to get around the issues that Jean originally reported here.
What are your specific issues, Fabien? Also, are you familiar with .po and .mo files and how to edit them in general? We can’t offer much help with general things like this, but we do have to some Knowledgebase articles that you might find helpful. They cover the translations processes for our plugins and how to set up translations on your site:
• Translating The Events Calendar: http://theeventscalendar.com/knowledgebase/translating-the-events-calendar/
• Translating our premium add-ons: https://theeventscalendar.com/knowledgebase/adding-or-updating-a-translation/
• Changing the language on your site: https://theeventscalendar.com/knowledgebase/changing-the-language-on-your-calendar/
Just sharing these articles in case you haven’t seen them yet – I hope they’re helpful! 🙂
Cheers,
GeorgeOctober 21, 2015 at 1:16 am #1016459Mike DeVers
GuestQuick and easy (but not the best !) solution for french translation :
Using codestyling localiztion plugin or poedit strings exist, but translation doesn’t find the string ‘Event Category’ or ‘Event Categories’
Change the line ‘label’ in the file wp-content/plugins/the-events-calendar/src/views/modules/meta/details.php.
___________________________________
<?php
echo tribe_get_event_categories(
get_the_id(), array(
‘before’ => ”,
‘sep’ => ‘, ‘,
‘after’ => ”,
‘label’ => ‘Catégorie(s)’,
//’label’ => null, // An appropriate plural/singular label will be provided
‘label_before’ => ‘<dt>’,
‘label_after’ => ‘</dt>’,
‘wrap_before’ => ‘<dd class=”tribe-events-event-categories”>’,
‘wrap_after’ => ‘</dd>’,
)
);
?>
_______________________________October 21, 2015 at 11:49 am #1016666George
ParticipantThank you for sharing Mike!
-
AuthorPosts
- The topic ‘Problem with french translation of terms’ is closed to new replies.
