• Hello. First of all it’s a great plugin.

    I’m having a problem with my Sweetdate theme. I’ve started to translate my theme but couldn’t see any difference on my site. Loco has automatically created sweetdate-tr_TR.mo in /wp-content/languages/themes folder.

    In Sweetdate forum, admins have recommended to change the text domain from sweetdate to kleo_framework. I’ve changed it manually over ftp and it started to work. My problem is after changing the file names from sweetdate to kleo_framework, I can’t see anything to edit on Loco UI.

    What should I do about it? Loco sees my text domain as sweetdate but actually it is kleo_framework.

    Thanks in advance

    https://www.ads-software.com/plugins/loco-translate/

Viewing 1 replies (of 1 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Loco needs to know (or be able to guess) that the text domain is kleo_framework. It sound like originally it got it wrong. (common problem)

    The best way to do this is declare it in style.css using the Text Domain header.

    Additionally it’s good to have the POT file named correctly. kleo_framework.pot is the best option. If you don’t have a POT file, just avoid using incorrect namings for template files, like default.po etc..

    Also, make sure you don’t have any of the old files with the wrong sweetdate naming conventions kicking around or the plugin will get confused.

    If this isn’t your theme, it’s not a good idea to edit it. Pass this info on to the author if this is the case.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing text domain of a theme’ is closed to new replies.