New Landing How can we help? Atelier Translation child theme

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Atelier
  • #250291
    OliviaPingret
    Member
    Post count: 85

    Hi team,

    I’m using the atelier’s child theme and I’m trying to translate the template.
    I have followed this process:
    “1) Download POEdit https://poedit.net/
    2) Download your language file from your ftp atelier/languages/fr_FR.po
    3) Search through your strings and amend the translations. Save as your.
    4) When finished, click File => Compile to MO.
    5) Upload your new language files BOTH fr_FR.po and fr_FR.po to the folder atelier/languages/”

    Also, I created a “language” file in the child theme file (FTP) and I added it the fr_FR.po and fr_FR.mo files.
    Problem: the translation doesn’t work…

    Could you please help me to fix this problem.
    Thank you very much.

    #250320
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please add this code at functions.php of child theme.

    add_action( 'after_setup_theme', 'sf_child_theme_setup' );
    function sf_child_theme_setup() {
        load_child_theme_textdomain( 'swift-framework', get_stylesheet_directory() . '/language' );
    }

    Thanks
    Mohammad

    #250341
    OliviaPingret
    Member
    Post count: 85

    Thanks
    Where exactly in functions.php ? Because I have this sentence: “You can uncomment the line below to include your own translations into your child theme, simply create a “language” folder and add your po/mo files”

    #250359
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me login detail to check and resolve the issue.
    Thanks
    Mohammad

    #250391
    OliviaPingret
    Member
    Post count: 85
    This reply has been marked as private.
    #250424
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please check it now.
    Thanks
    Mohammad

    #250439
    OliviaPingret
    Member
    Post count: 85

    Hi,
    I checked and yes it works but only for some words.
    There are words that still not translated like comments, share, in the post details specifically

    #250455
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Have you translated all of these strings?
    Thanks
    Mohammad

    #250457
    OliviaPingret
    Member
    Post count: 85

    Not all things, just things that I needed in frontend.
    I translated “share” for example or comments

    #250688
    David Martin – Support
    Moderator
    Post count: 20834

    Can you attach your .po file? Do the strings exist within the .po file?

    “comments”
    “share”

    Sounds like you have either missed a step from the above instructions.

    Thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register