Theme translation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #187
    Jpsy
    Member

    Digging deeper into Method 1 I found that a “Scripting Guard” kicked in, which is delivered with Codestyle Pluging. It is triggered by multiple Plugins that come with Inspira, so chances are probably slim to get it working. Error messages are similar to this one :

    The author uses function load_textdomain instead of load_theme_textdomain or load_child_theme_textdomain. THis may change the behaviour of WordPress, as some filters and actions are not executed anymore. Please contact the author.

    This message is given for Inspira itself, but might also be triggered by redux framework in a subfolder of Inspira, as Codestyle finds a lot of translations for Inspira that are obviously redux translations.

    All in all I guess using Poedit with a .pot file would be the way to go.

    #189
    Jpsy
    Member

    Ok, more trials and I got it:
    Poedit work on .po files and such a file is found in the /languages/ folder of Inspira.
    I was able to load the file and translate it into a German language file. Acutally quite simple.

    It would help if you change the notation of .pot in you help file to .po in the sentence:

    Then select the .pot file from the theme you wish to translate which you can find in the /languages/ folder of theme.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.