abusquets
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] translate theme optionsI installed a plugin for that, and yes, the options are from theme
- This reply was modified 6 years, 6 months ago by abusquets.
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] translate theme optionsSorry, but i don’t know how to do this.
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] translate theme optionsHi Valentyn,
many thanks for your attention, but it only works for blog options like blogname, blogdescription and not for the specific theme options like theme_home_advance_search_title and theme_featured_prop_title.This is my wpm-config.json theme file
{
“post_types”: {
“property”: {}
},
“taxonomies”: {
“property-feature”: {},
“property-type”: {},
“property-status”: {}
},
“options”: {
“theme_mods_realhomes-monica”: {
“blogname”: {},
“blogdescription”: {},
“theme_home_advance_search_title”: {},
“theme_featured_prop_title”: {}
}
}
}Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] New plugin – wpcasaThanks
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] translate theme optionsUntranslated strings are those called by get_option
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] New plugin – wpcasaSolved, I think the problem was a “,”
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] WooComerce REST APIFor new products too?
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] WooComerce REST APIWhen I create a product, in wpm_translate_object function $lang is empty.
The file is includes/wpm-translation-functions.phpfunction wpm_translate_object( $object, $lang = '' ) { foreach ( get_object_vars( $object ) as $key => $content ) { switch ( $key ) { case 'attr_title': case 'post_title': case 'name': case 'title': print( 'content:' . $content ."\n"); print( 'lang:' .$lang ."\n"); print( 'wpm_translate_string:' . wpm_translate_string( $content, $lang ) ."\n"); die(); $object->$key = wpm_translate_string( $content, $lang ); break;
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] WooComerce REST APIIn the body of request. Do you mean add lang attribute like this? It fails too.
{ 'lang': 'es, 'type': 'variable', 'name': 'BOTIN AY1701', 'attributes': [ {'variation': True, 'visible': True, 'id': 3, 'options': ['OCRE01']}, {'variation': True, 'visible': True, 'id': 4, 'options': ['52', '40']}], 'categories': [{'id': 304}], 'sku': 'AY1701' }
- This reply was modified 6 years, 10 months ago by abusquets.
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Disable taxonomiesSolved
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Disable taxonomiesSolved, thanks a lot for your reply.
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Disable taxonomiesOnly pa_talla. In pa_color only one attribute if is possible.
Thanks.