Support » Theme: Spacious » Can not connect translation files

  • Hi, I can not connect the file transfer.
    Files are:
    ../www/wp-content/themes/spacious/languages/uk_UK.mo
    ../www/wp-content/themes/spacious/languages/uk_UK.po
    In wp-config.php:
    define (‘WPLANG’, ‘uk_UK’);.
    Translation of the site is working properly.
    Plugin “CodeStyling Localization” cant finds no translation for the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author ThemeGrill

    (@themegrill)

    Hmm.. Looks like we missed to load the theme text domain. What you can do for now is you can go to functions.php file inside the theme folder. And add the following line of code inside spacious_setup function.
    load_theme_textdomain( 'spacious', get_template_directory() . '/languages' );
    We will be adding this in our next version update. Thanks.

    Thanks, it works

    Theme Author ThemeGrill

    (@themegrill)

    Welcome! We would really appreciate if you could rate our theme. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can not connect translation files’ is closed to new replies.