Digital experiences for all disciplines
Forum Replies Created
-
-
ok thank you Mohammad
I did it several times but it doesn’t change anything…
Hi,
What do you mean? Those strings are already in my po file so I don’t understand your answer.
Perfect! thank you Ed
Very nice! thank you
Can I apply this method to other strings with similar filter (ex: rwmb_image_delete_string)?Well, the plugin Real Time Find And Replace doesn’t work at all in that case, so this is not a solution.
Hi,
What a shame, I was expecting a better solution.
I hope you will fix it in a next release because it is important for foreign back-end users.regards
Hi,
I tried something else without success.
I created a new pot file and placed the mo file in my child theme with that path:
my-child-theme/swift-framework/meta-box/inc/fields
Then I added the following function in my child theme functions.phpfunction my_child_theme_setup() { load_child_theme_textdomain( 'swift-framework-admin', get_stylesheet_directory() . '/swift-framework/language' ); load_child_theme_textdomain( 'rwmb', get_stylesheet_directory() . '/swift-framework/meta-box/inc/fields' ); } add_action( 'after_setup_theme', 'my_child_theme_setup' );
The first load is for Meta Options tabs content and it’s fine.
Any help would be nice.I’ve duplicate the file from dante/swift-framework/language/en_US.po, then I renamed it to fr_FR.pot so I could add all missing meta options keychains in it.
Now the fr_FR.mo is in my child theme (child-theme/swift-framework/language/).
Everything works fine for all meta options keychains, excepted for buttons.Hi,
I’m making a new fr_FR.pot file for my child theme containing all missing keychains (meta options for post/page).
Everything works fine excepted for buttons.I’d like to get translated buttons displayed in post/page meta options tabs.
They can be found in dante/swift-framework/meta-box/inc/fields/image-advanced.php. For example line 70:
$i18n_title = apply_filters( 'rwmb_image_advanced_select_string', _x( 'Select or Upload Images', 'image upload', 'rwmb' ), $field );
So I added the following code in my pot:
#. Text in function #: dante/swift-framework/meta-box/inc/fields/image-advanced.php:70 msgid "Select or Upload Images" msgstr "Sélectionner ou charger des images"
It is not translated. Did I missed something?
What about that _x, should I declare it differently?Regards
December 11, 2014 at 1:36 pm in reply to: Swift Framework Translations Location for child theme? #135111Thank you so much Rui, it works like a charm.
December 10, 2014 at 11:43 am in reply to: Swift Framework Translations Location for child theme? #134766I’m sorry, I was searching solution for Dante and found this thread. So my mistake…
Should I post again in Dante section?December 10, 2014 at 11:33 am in reply to: Swift Framework Translations Location for child theme? #134760Hi,
I’ve added the code in my child theme functions.php then I’ve created the languages folder and puted my new fr_FR.mo files inside but it doesn’t work.
I need to get Meta Options tags and content translated, it’s found in swift-framework/meta-boxes.php file but it seems that it is not possible to get it translated.
exemple of a tab title found in meta-boxes.php
$meta_boxes[] = array( 'id' => 'thumbnail_meta_box', 'title' => __('Thumbnail Options', $text_domain), 'pages' => array( 'post', 'portfolio' ), 'context' => 'normal', 'fields' => array(
Are you planning to make Meta Options translatable as well as Theme options in the back-end?
regards
ok I understand, so I’ll think again about using page builder.
thank youok, as soon as I have time to do it, I will proceed as requested.
My pleasure 😉 -
Posted in: Reply To: Backend translation