Avada Theme Tutorial

The problem of invalidation of the Chineseization of the avada theme

In October 2019, avada was updated to version 6.1.0. As usual, upload the Chinese files to the languages folder, refresh the background, and the Chinese is invalid. I guess it must be official and less code. Then add it yourself. Officially updated themes and plugins often do this kind of thing.

avada theme file

Open functions.php for editing

Add the following code to the last line

load_theme_textdomain( 'Avada', get_template_directory() . '/languages' );

As a result, Simplified Chinese is invalid, while Traditional Chinese is valid. . Big head.


fusion-builder plugin

Edit the fusion-builder.php file and add the following code to the last line

function my_plugin_init() {
load_plugin_textdomain( 'fusion-builder', false, basename( dirname( __FILE__ ) ) . '/languages/' );
}
add_action('plugins_loaded', 'my_plugin_init');

 

efficient


Is the avada official doing things deliberately?

The next day, accidentally checked

wp-content/languages/plugins

wp-content/languages/themes

The translation files are here. . . (Translation files are not translated)

Resolutely upload the overlay, and the avada translation is normal.

Host Front provides avada Chinese update

 

 

 

 

 

 

Leave a Reply