Translation English-Spanish

Home Forums Calendar Products Events Calendar PRO Translation English-Spanish

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19765
    javier
    Participant

    Hi,
    I’ve started to translate more accurately the language file: tribe-events-calendar-pro.pot.

    In the beginning, I did it with notepad++ (a code editor), but this way I couldn’t make any changes. Then I wondered which language file I must translate: the-event-calendar folder or the event-calendar-pro folder? or both? In any case, when I edit any event-calendar language file in POEDIT, it gives me three errors:

    – Line 706 format specification in ‘msgid’ and ‘msgstr’ for argument 1 are not the same.
    – Line 716 ‘msgstr’ is not a valid php format string, unlike ‘msgit’. Reason: in the directive number 1, the character ‘m’ is not a valid conversion specifie
    – Line 730 ‘msgstr’ is not a valid php format string, unlike ‘msgit’. Reason: in the directive number 1, the character ‘a’ is not a valid conversion specifie

    Please tell me:
    1. Which is the file?
    2. In which program should I edit it?
    3. and where should I save it?

    Thanks for your time 🙂

    #19811
    Rob
    Member

    Hey Javier. Thanks for the note here, too. On this one: it will depend on which plugin you want to translate, but really you’ll probably need to work off both .pot files. The one for The Events Calendar covers the core/free plugin and everything in it; the one for Events Calendar PRO is much smaller and includes just the terms included with the PRO add-on that are not translated in core. Realistically though you’ll want to review both, save them and generate a total of 4 files: a .po and a .mo for The Events Calendar, and a .po and a .mo for Events Calendar PRO.

    If you’re using POEdit, that’s the best route we’ve found…just open the .pot file into POEdit, make your changes, and save to generate the .po/.mo. Label those correctly so they are consistent with other language files and them drop into the ‘lang’ folder for the appropriate plugin.

    That help? Let me know if not and I’ll do what I can to adjust my response.

    #19823
    javier
    Participant

    Thanks Rob! That help… but to do the translation the following errors don´t let me save the .po/.mo files:

    POEDIT gives me three errors:

    – Line 706 format specification in ‘msgid’ and ‘msgstr’ for argument 1 are not the same.
    – Line 716 ‘msgstr’ is not a valid php format string, unlike ‘msgit’. Reason: in the directive number 1, the character ‘m’ is not a valid conversion specifie
    – Line 730 ‘msgstr’ is not a valid php format string, unlike ‘msgit’. Reason: in the directive number 1, the character ‘a’ is not a valid conversion specifie

    Regards!

    #19838
    Rob
    Member

    Javier: usually the file will still save even with those errors presenting themselves. Are the files not actually showing up?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Translation English-Spanish’ is closed to new replies.