?
Current Path : /home1/savoy/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/i18n.php |
<?php // Add strings from i18n directory. Note: We don't handle subdirectories, but we should in the future. $i18n_files = glob( __DIR__ . '/i18n/*.php' ); // Library localization has been moved to the Cloud app. $root_directory = defined( 'ET_BUILDER_PLUGIN_ACTIVE' ) ? ET_BUILDER_PLUGIN_DIR : get_template_directory(); $i18n_library = require $root_directory . '/cloud/i18n/library.php'; $strings = array(); foreach ( $i18n_files as $file ) { $filename = basename( $file, '.php' ); $key = et_()->camel_case( $filename ); $strings[ $key ] = require $file; } $strings['library'] = $i18n_library; return $strings;