feat: add Spanish (es_ES) and Romanian (ro_RO) translations
- Generate woolist-phplist.pot from all 48 translatable strings - Add full es_ES.po / ro_RO.po with translations for all strings - Compile binary .mo files for both locales - Add load_plugin_textdomain() call so WordPress loads the translations Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,6 +40,8 @@ function woolist_check_woocommerce() {
|
||||
* Bootstrap the plugin after all plugins are loaded.
|
||||
*/
|
||||
function woolist_init() {
|
||||
load_plugin_textdomain( 'woolist-phplist', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
||||
|
||||
if ( ! woolist_check_woocommerce() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user