Results 1 to 4 of 4

Thread: How to translate vantage child theme

  1. #1
    Thread Starter
    Junior Member crixx's Avatar
    Join Date
    Aug 2011
    Location
    Munich
    Posts
    27
    Thanks
    4
    Thanked 1 Time in 1 Post

    How to translate vantage child theme

    Hi,

    I searched the forum and google but found no working answer.

    What do I want to achieve? I try to translate a Child Theme for Vantage.
    Result so far: Child theme works, but I could not get loaded the correct Language, in my case de_DE.

    What did I do?

    1. created folder
    .../themes/vantage
    .../themes/vantage-child

    2. style.css
    /*
    Theme Name: name.theme
    Version: 2.1.0
    Description: xyz
    Author: Chris
    Author URL: https://xyz.de
    Text Domain: vantage-child
    Template: vantage
    */

    3. functions.php
    <?php
    /**
    * Registers the stylesheet
    *
    * @since 2.0.0
    */
    function vantage_child_styles() {
    wp_enqueue_style( 'vantage-child', get_stylesheet_uri() );
    }
    add_action( 'wp_enqueue_scripts', 'vantage_child_styles', 999 );

    function child_theme_slug_setup() {
    load_child_theme_textdomain( 'parent-theme-slug', get_stylesheet_directory() . '/languages' );
    }
    add_action( 'after_setup_theme', 'child_theme_slug_setup' );
    ?>

    4. Translated
    translated and created de_DE.mo and de_DE.po wit po-edit

    5. Uploaded
    Uploaded these 2 files to directory: .../themes/vantage-child/languages

    6. Result
    No translation


    All steps according to instructions:
    https://docs.appthemes.com/vantage/h...e-child-theme/

    Website:
    https://biokisten.org

    Versions:
    Wordpress: 6.6.2
    Vantage: 4.2.14
    PHP: 8.3


    Question: What did I miss?

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,977
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Junior Member crixx's Avatar
    Join Date
    Aug 2011
    Location
    Munich
    Posts
    27
    Thanks
    4
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Senior Member bauerzs's Avatar
    Join Date
    May 2015
    Posts
    119
    Thanks
    24
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to translate the theme Vantage of 3.0.9 to Chinese language?
    By etonglisting in forum Help Using Vantage (Legacy)
    Replies: 2
    Last Post: December 13th, 2018, 04:10 PM
  2. Using Loco Translate with Clipper or Flatter child theme
    By vidal in forum Help Using Clipper
    Replies: 1
    Last Post: September 16th, 2017, 11:40 AM
  3. Replies: 2
    Last Post: November 14th, 2014, 08:40 AM
  4. Dimitris How to translate all my vantage theme to French ?
    By samdu16 in forum Help Using Vantage (Legacy)
    Replies: 8
    Last Post: December 8th, 2013, 12:38 PM
  5. Child Theme ClassiPress not translate ClassiPress-es_ES.po
    By tonyperez in forum ClassiPress General Discussion
    Replies: 2
    Last Post: May 5th, 2012, 07:05 AM