Want to update translation – where is the .pot-file?

This topic has 13 replies, 4 voices, and was last updated 10 years, 1 months ago ago by Eva Kemp

  • Avatar: Royalty
    Royalty
    Participant
    April 23, 2015 at 15:19

    Hello,
    in your documentation, you write: “The translation file default.pot you can find in Languages_PO_files folder in theme package”. But it isn’t there. Can I somewhere download it? Because search says that there is no .pot file in the whole theme package at all…?

    12 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 23, 2015 at 15:27

    Hello

    We have sent you this folder via e-mail.
    Please check it.

    With best regards
    Brian Johnson

    Avatar: Royalty
    Royalty
    Participant
    April 23, 2015 at 15:44

    Dear Brian,
    thank you, but the problem is that in this folder there are only the .po and the .mo file. But I read everywhere that I need the default.pot to update the translation and this file is missing.

    Avatar: Robert Hall
    Robert Hall
    Participant
    April 23, 2015 at 15:48

    Hello,

    As it should be. You need translate theme with default.po file.

    Regards,
    Robert Hall.

    Avatar: Royalty
    Royalty
    Participant
    April 23, 2015 at 15:53

    Hello,
    and how can I update the theme without losing my translation and at the same time updating the strings? In your documentation you write that you need the .pot file and you link to this page (http://betterwp.net/wordpress-tips/create-pot-file-using-poedit./) where is written:
    “Another task of a translator is to update a .po file whenever a particular project has just been updated with more strings to translate, or even obsolete ones. To update your .po file, again navigate to Catalog, but this time choose ‘Update from POT file’, and then choose the .pot file from which you would like to get updated contents. Next, translate the project as you would normally do and save all changes.

    Avatar: Eva
    Eva Kemp
    Participant
    April 23, 2015 at 18:17

    Hello,

    Have you already translated some part of the content?
    You need translate the theme as described in our documentation:
    https://www.8theme.com/demo/docs/royal/#!/1_how_to_translate
    Edit default.po file and then save it as “es_ES.po”, so with the prefix of your language.

    Regards,
    Eva Kemp.

    Avatar: Royalty
    Royalty
    Participant
    April 23, 2015 at 19:22

    I quote your documentation:

    The translation file default.pot you can find in Languages_PO_files folder in theme package

    -> it is NOT there

    Read here how to do it right.

    –> refers to a page that says:

    Updating a .po (and .mo) file

    Another task of a translator is to update a .po file whenever a particular project has just been updated with more strings to translate, or even obsolete ones. To update your .po file, again navigate to Catalog, but this time choose ‘Update from POT file’, and then choose the .pot file from which you would like to get updated contents. Next, translate the project as you would normally do and save all changes.

    Of course, I know how to edit the .po file but I definitely need the POT file to update the strings after a theme update!

    Avatar: Eva
    Eva Kemp
    Participant
    April 23, 2015 at 20:27

    Hello,

    Please provide us with FTP and wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Royalty
    Royalty
    Participant
    April 24, 2015 at 18:39

    My site is not yet online, but whatever you would like to know, I can tell you or send screenshots. I know, that I have to edit the .po file. But when you add new strings, I need the .pot file to use poedit’s function “Update from .pot-fil”…So, what would you like to check?

    Avatar: Eva
    Eva Kemp
    Participant
    April 24, 2015 at 21:01

    Hello,

    You need edit default.po file in wp-content/themes/royal/languages directory. It can be named default.po or default.pot, there is no difference.

    Regards,
    Eva Kemp.

    Avatar: Royalty
    Royalty
    Participant
    April 24, 2015 at 21:20

    Yes, as mentioned a serveral times: I know that I have to edit the .po file and not the .pot. But for updating the strings after an update (there may be new strings), I need the .pot file. That is what is written on this page (http://betterwp.net/wordpress-tips/create-pot-file-using-poedit./), that you refer to in your documentation.

    But if you say that it is the same, maybe I could rename the .po to .pot and then use the “update from .pot-file” in poedit (this works only with .pot files!).

    Or what way would you suggest to keep my translations up to date, means to scan for new strings after an update?

    Avatar: Royalty
    Royalty
    Participant
    April 25, 2015 at 13:36

    I could solve this by my own and with the help of google. You can close this topic.

    Avatar: Eva
    Eva Kemp
    Participant
    April 26, 2015 at 11:24

    Hello,

    We’re glad you managed to find the solution.

    Have a nice day.

    Regards,
    Eva Kemp.

  • Viewing 13 results - 1 through 13 (of 13 total)

The issue related to '‘Want to update translation – where is the .pot-file?’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.