WordPress.org

Ready to get started?Download WordPress

Forums

Spacious
Can not connect translation files (4 posts)

  1. KushnerukAndriy
    Member
    Posted 3 months ago #

    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.

  2. ThemeGrill
    Member
    Theme Author

    Posted 3 months ago #

    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.

  3. KushnerukAndriy
    Member
    Posted 3 months ago #

    Thanks, it works

  4. ThemeGrill
    Member
    Theme Author

    Posted 3 months ago #

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

Reply

You must log in to post.

About this Theme

About this Topic