Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • in reply to: Demo content import fail #127750
    Michaelgimm
    Member
    Post count: 13

    oh! How stupid of me… Didn’t need the woocomerce, but hadn’t thought it would affect something else..

    Thx a lot.

    in reply to: Demo content import fail #127688
    Michaelgimm
    Member
    Post count: 13
    This reply has been marked as private.
    in reply to: Demo content import fail #127651
    Michaelgimm
    Member
    Post count: 13

    So now I had the host support move me to a newer PHP server, which removed the “function.set-time-limit” error. But I still get the same import error no matter which .XML file I choose to import…. see screen dump:

    Attachments:
    You must be logged in to view attached files.
    in reply to: MO and PO files in childtheme #51806
    Michaelgimm
    Member
    Post count: 13

    Can’t include PO and MO files?

    in reply to: MO and PO files in childtheme #51804
    Michaelgimm
    Member
    Post count: 13

    Hi Mohammad
    I’ve been busy 🙂 But I included the files.

    I also included a screen dump for you to see, that I already made the language folder. Still doesn’t do what its supposed to…

    Best regards
    Michael

    in reply to: remove "Filter our work" #47192
    Michaelgimm
    Member
    Post count: 13

    ahh of course, stupid me 🙂
    Thank you so much!

    Best regards
    Michael

    in reply to: Po Language files in child theme #37815
    Michaelgimm
    Member
    Post count: 13

    Think I got it 🙂 (but still don’t know what will happen after update…)

    Copied the translated PO and MO files (da_DK) to:
    /public_html/wp-content/themes/neighborhood/language &
    /public_html/wp-content/themes/neighborhood-child/language

    And reinstalled Localization – went to Localization plugin/woocommerce and pressed EDIT. All the words where translated to danish.
    After this it worked 🙂

    Thx

    in reply to: Po Language files in child theme #37812
    Michaelgimm
    Member
    Post count: 13

    Hi Laranz, thx for your patience.

    I allready translated the PO file in the Neighborhood theme earlier. Now I put the PO+MO files in the:
    /public_html/wp-content/themes/neighborhood/language &
    /public_html/wp-content/themes/neighborhood-child/language

    …and it almost works. But I don’t know what will happen when I update the theme next time…. Anyway I have stored the files, so it’ll have to do for now.

    BUT there are still some words which are not translated (see attached file). I think it relates to woocommerce, but when I open the PO or POT file in:
    /public_html/wp-content/plugins/woocommerce/i18n/languages

    …the words from my attached file is not on the “list”

    WHERE do I edit these words?

    Michael

    in reply to: Po Language files in child theme #37577
    Michaelgimm
    Member
    Post count: 13

    Ok, so I previously had Localization installed, but never made it work with danish translation.. this explains the define (‘WPLANG’, ‘ll_CC’);

    In the Localization plugin under the Woocommerce translate section it says:(see attached file) – does it mean anything?

    Michael

    in reply to: Po Language files in child theme #37155
    Michaelgimm
    Member
    Post count: 13

    Hi, I didn’t put the “ll_CC” there in the first place. Don’t know how it got there?!?

    I tried to change it to:
    define (‘WPLANG’, ‘da_DK’);
    define (‘WPLANG’, ‘da_DK’);
    ….no luck

    And afterwards:
    define (‘WPLANG’, ‘da_DK’);
    …also no luck

    Som of the words is translated and others are not. It seems it would have something to do with Woocommerce vs Neighborhood, maybe? (see attached file).

    Michael

    in reply to: Po Language files in child theme #36861
    Michaelgimm
    Member
    Post count: 13

    Thanks Laranz, but no luck…

    This is where I put my functions.php file:
    /public_html/wp-content/themes/neighborhood-child
    …and the code now looks like this:

    <?php
    add_action( ‘after_setup_theme’, ‘neighborhood_child_setup’ );
    function neighborhood_child_setup() {
    /* Load the child theme’s gettext file */
    load_child_theme_textdomain( ‘swiftframework’, get_stylesheet_directory() . ‘/languages’ );
    }
    ?>

    My wp-config.php is in this directory:
    /public_html
    …and it looks like this in the language section of the code (I want it to be “da_dk”)

    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de.mo to wp-content/languages and set WPLANG to ‘de’ to enable German
    * language support.
    */
    define (‘WPLANG’, ‘da_DK’);
    define (‘WPLANG’, ‘ll_CC’);
    define (‘FS_METHOD’, ‘direct’);
    define(‘WP_DEBUG’, false);
    /* That’s all, stop editing! Happy blogging. */

    I have also attached my translated PO file, which is located in:
    /public_html/wp-content/themes/neighborhood-child/languages

    Please advise.

    Best regards
    Michael

Viewing 11 posts - 1 through 11 (of 11 total)