Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1423941

    Christian
    Moderator

    As said in the previous reply:

    you can’t add textdomain declaration within gettext filter

    That means it could not be tracked by WPML out of the box. It might be technically possible but would require additional custom development which is outside the scope of our support. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/

    Thank you for understanding.

    #1424480

    Meng
    Participant

    Thanks for explaning. I understand now. But I was thinking…

    Would it work if I manually added the new string (from the filter) and its translation in a pot file?

    #1424920

    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in. You cannot simply manually add any string into the pot file. You will have to update it so that it will have the record of the file and line number as the location of the string. I would recommend that you check out this link:
    http://www.cubiclenomore.com/code/random/how-to-merge-your-po-file-with-new-pot-file-from-vendor/
    https://wpml.org/forums/topic/updating-pot-and-translating-po/

    Hope this helps.

    #1425227

    Meng
    Participant

    Thank you for your help 🙂

    #1425692

    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!