Is there no way to have a different header per language?
I entered text in the header, some slogan. This text then becomes permanent throughout all languages, I cannot find it anywhere to translate.
I also noticed that WPML is not picking up any of the french language from the theme, and a good 75 items are also left behind from the module. Strings remain untranslated…
This is huge and if someone at BB has time, I’ll even gladly share my screen to show you through WPML in Live mode, and what it is that I mean. Might be simpler.
I’m behind on websites for which I was going to use BB, but now it seems risky.
Help!
Hello nomad,
are you referring to the 1 / 2 column bar at the page top ?
I’ve a solution that works very well for me and allows far more than you’re asking.
Create a custom widget and translate it, then put a shortcode like [content_block id=XX] as the top bar column text and you’re done! (replace XX with the custom post widget id).
Now (don’t tell it anyone… ) you can do much more than this, with BB you can drag and drop reusable and translatable custom widgets almost anywhere!
I entered text in the header, some slogan. This text then becomes permanent throughout all languages, I cannot find it anywhere to translate.
I believe this issue isn’t specific to us. The theme uses the core customizer for its settings, so I would assume translation of those would be the responsibility of WPML. If they don’t provide a way to translate customizer input, that would be a great feature request as more and more themes are using it.
I also noticed that WPML is not picking up any of the french language from the theme, and a good 75 items are also left behind from the module. Strings remain untranslated..
Are you saying that our interface elements aren’t being translated using the French translation you sent us? Let me know and I’ll have a look.
I’m new to using the customizer. Isn’t it a WordPress core feature?
This is what I’m seeing using WPML. When I switch to French, the Builder is fully translated. Works fine.
The theme settings though, the whole Customizer? Nada. Remains in english. There must be some setting I don’t know about, on how to have it be translated. Ill go dig on the WPML site a bit.
When I look through WPML though, here is what I get for the plugin and theme:
If you have WPML installed it seems that the customizer is shown in the site main language set in your WPML options (if translation files for that language are present in the theme files of course).
Seems to work like this despite any other setting in your user profile or default administration language set in WPML options.
The __ and _e functions are only for strings that are hardcoded within php files. User input can’t be translated that way because translators won’t have any idea what it is at the time of translation.
Settings in the WordPress Customizer are stored and retrieved using set_theme_mod and get_theme_mod. I suspect that WPML has yet to build in support for theme mods if there isn’t a way to translate them like you can post meta.