• Hi !

    I’m using Free Enigma 2.4.1 for a french website.

    Some text need to be translated, like the “What do you want to find” text in the search widget.
    So I’ve made a little translate file fr_FR.mo and fr_FR.po, put them in core/lang and it is working.

    But… updating the Enigma template erase my two files.

    How can i take care of this ?
    What would be the “long term” answer ?

    Thanks, have a nice day ?? !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi..

    When theme update then whole theme is updated not a single files.

    Now make your translate file in child theme or if you want to make in parent theme, please made a backup of theme, before update.

    Let’s know further assistance.

    Thanks.

    Thread Starter Dimdim

    (@afinfo)

    Hi,

    I made a child theme but my translate file is not showing up ??

    I made 2 child themes with “Child Theme Configurator”.
    Then I made 2 child themes with “Orbisius Child Theme Creator”.

    For the four child themes, a category.php file(with left sidebar) in root directory override the one in parent theme. That’s good ??

    For the two child themes made with “Orbisius CTC”, a style.css file in root directory with :

    .header_section {
        background-color: #eeeeee !important;
    }

    override the .header_section in parent theme. But not for the two made with “CTC”

    In the four cases, my WordPress website do not use my two translation files.

    In addition, “CTC” plugin shows an error message while analysing parent Enigma (legit version) :

    This theme loads the parent theme's style.css file outside the wp_styles queue.
    
    This is common with older themes but requires the use of @import, which is no longer recommended. You can try to resolve this using the "Repair header template" option (see step 6, "Additional handling options", below).

    What do you think about all of this ?

    Thanks, have a nice day ??

    Hi,

    While creating child theme, parent theme’s main css have to include in theme.

    Which can be include via two method.

    1. Using @import in child theme’s. This method is not recommended by WordPress.

    2. Enqueue parent theme’s CSS in child theme’s functions.php. This method is recommended by WordPress.

    Please use appropriate plugin to create child theme.

    We recommended One Click Child Theme Plugin for this.

    It create child theme as per WordPress recommendation.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translation erased after update’ is closed to new replies.