Plugin for Elementor compatibility???
]]>Hello. Your plugin is the best!
I have a problem, I am using the plugin: https://www.ads-software.com/plugins/classified-listing/
The plugin has taxomies “Listing Categories” when using these categories in widgets or in popups where Ajax output is used, the categories are not translated into a second language.
Can anyone solve this? I would be very grateful!
]]>The languages ??section is missing after activating the plugin in WordPress 6.6.1 and higher. I can’t add a second language! Fix please!
]]>Hello,
After the last update of the WordPress platform, the language switcher in the Edit Page/Post mode, stopped working.
The solution to make it work is to modify the /wp-content/plugins/sublanguage/js/gutenberg.js file and replace this class “.edit-post-header__settings” with “editor-header__settings”.
Hope we will get a fix with this suggestion soon.
Thanks in advance!
Hi, I love your plugin.
Please add to documentation the $taxonomy parameter about:
apply_filters( ‘sublanguage_translate_term_field’, $default, term, $field, $language = null, $by = null)
bonjour
j ai 2 erreurs, pouvez vous m aider ?
eprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/u337537282/domains/———/public_html/test/wp-includes/functions.php on line 7241
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u337537282/domains/————-/public_html/test/wp-includes/functions.php on line 2187
Merci
]]>Hi
I use sublanguage to translate my woocommerce site. The product are correctly translated. However, on the cart page, in the cart view, the product are shown untranslated. The link points to the translated page, with the right translated slugs, only the product name and description are shown in the default language. Am I missing a configuration here ?
Thanks a lot!
]]>Hi Maxime, I just installed it recently and it works great, I just have an issue:
when changing page from the navigation menu it keeps the selected language, but when I click on a basket button or other buttons, like footer, and open the page it always brings me back to the default language and doesn’t keep the selected one. Is there something I missed in the settings?
Is there any way to leave on the navigation menu only one button for both languages where only the non selected one is visible?
Thank you for the great work!
]]>Hey how could I change the language switcher into a dropdown?
]]>Two of the most useful Plugins on my? website are Sublanguage and Real Media Library (RML). With RML media files can be organised in a tree-like folder structure. Furthermore, it is possible to create links in one folder to a media file in another folder, thus avoiding duplication of files. When creating a link to a media file, all meta data fields are created in the link and the content of the metadata fields are also copied so it is not necessary to rewrite everything. It is however possible to have different metadata in the “link file” compared to the “original file”. This is very useful! Unfortunately, the metadata content in the fields created by Sublanguage are NOT copied; only the metadata fields are created. The consequence is that I manually have to copy and paste the content of the Sublanguage metadata fields from the “original file” to the “link file”, which is very time-consuming.
I have been in contact with the RML Plugin author who concluded that he found it too complicated to also copy the Sublanguage data when creating links in RML. From a Sublanguage Plugin perspective, is there something I can do to modify the process that creates the links so that all metadata including translations are copied?
]]>Hey there,
I guess it’s because the wordpress backend in mydomain.com/wp-admin/ doesn’t have a language indicator like mydomain.com/de/wp-admin/ so the mails won’t know that they should switch the language.
If a customer buys a product in the /de/ frontend, the first mail will be sent in German. However, if I change the status of his/hers order in the backend, every other email sent will be english.
Is there any way to fix this?
Thanks
Sublanguage is in my view the perfect tool for websites with several languages. I have used it for some time with great result. I implemented some translations that was not handled by the normal procedures by editing a special file that could be accessed through “Translate Options” on the “Sublanguage Settings” page. For some reason, I suddenly get the following message “Sorry, you are not allowed to access this page.” when trying to access the file. I have not noticed any other file access problems in my setup. How do I overcome this problem?
/Larry
]]>Hi, I am looking to limit the language switching to only the Posts page, so if a user clicks on another menu item in the main site menu that it will *not* automatically include the language string in the url.
As an example, if I have a site with a menu structure like “Home”, “About”, “News”, then when a user is on the “News” (Posts) page they can change language to Spanish and the link to “News” would be “/es/news/” but the other main menu links would stay as only “/about/” and not include the language prefix.
Is there any specific way of limiting the addition of the language string within the plugin? I know I could add some custom code to check whether we are on the main Posts archive page and limit it but it seems like I’d need to start to parse the menu structure output which is starting to get a little more complex than I’d prefer.
]]>Hi guys,
even if I hate Elementor, is there a method to support it?
Thanks
]]>Translation of slugs/ head title tags working
Translation of slugs/ head title tags NOT working
Is this some kind of bug, or do I need to adjust any setting in order to get it right? I’m totally lost right now.
]]>I am very happy with sublanguage and have managed to almost translate my entire project. Now this is something where I am stuck.
In WooCoomerce > Settings > Emails > “New Account” (for example) > Additional content
I tried using shortcode here to translate, but the shortcode will be printed as text in the E-mail.
What would be a better way to archive this?
Dear Maxime Schoeni
I set product title with two languages,one is Chinese:測試,another is English:Test,when I choose website language-Chinese,I search Test there is no result,then I choose website language-English,I search Test show Chinese name…how to solve this issue?could you help?many thanks
]]>Ever since whether header nor footer are showing translated contents, I am looking for workarounds.
I’ve asked ChatGPT for advice, and it hinted to me that something like this might be possible:[sublanguage lang="DE"]Display this line in German[/sublanguage]
However, this is not working, and I also couldn’t find any explanation on GitHub or in this forum.
Is there any way to insert content like this to be displayed in one language only?
First off, thanks for creating this great plugin! I’ve managed to translate a lot on my project. However, I ran into some difficulties that I can’t solve on my own:
About my configuration:
– WordPress v 6.1.1.
– PHP 7.4.33
– WooCommerce
– Theme: Gutenify Store (1.0.9) by Codyatri
1) How do I translate templates or template-parts or blocks?
– Parts of my page are getting translated automatically (like most buttons), however other parts are not (like buttons created within the Gutenify front-end editor). How do I translate those elements? Can I do it on the front-end as well? Do I have to do it somewhere in the dashboard? Do I need to add custom code to my templates? I can’t find any pointer as to where to make the necessary changes.
2) How do I translate header / footer ?
– Header and Footer (or parts thereof) are not being translated at all (not even the main menu) and I can’t find any method on how to translate them manually. How do I go about this?
3) Manually translated main menu items don’t show on front-end
– I can translate main menu items via Tools -> Navigation Menu Items, but the main menu is not translated in the front-end, even though I’ve manually translated all the navigation menu items.
4) Appearence -> Main Menu went missing
I can’t edit the main menu anymore. The option main menu that was to be found it Appearance -> Main menu is gone since I’ve installed sublanguage (or checked boxed in Settings -> Sublanguage). How do I add/remove menu items from here on out?
5) Templates/front-end editing goes missing, when I…
– When I check the box for “Templates” and “Template Parts” in Settings -> Sublanguage the front-end editor won’t find any template anymore. What’s the matter here?
Thank you!
Hello,
Tested with different versions yoast seo, In all cases, SEO data in Yoast SEO can only be written for one language, and all translateed pages show the same meta data. it is necessary for each language to be able to write its own meta data.
Hi!
First of all, thanks for this amazing plugin!
My site is using the ACF plugin. When I go to the “Language Options” page, to activate their translations, some only appear with the “_” at the start.
I’m aware that I need to select the option without the “_” to make the translation possible. There is a way to manually add options to this list, to make this viable?
Thanks!
]]>In wordpress I have /%category%/%postname%/ as my custom structure under permalinks
I installed sublanguage and set my wprentals listings post type to enable translations
Where before my listings showed under holiday-home/barbados/villa/[the property], in the subpanel settings it said that holiday-home was replaced by estate_property (which I think was the default)
but then my property showed under estate_property/[the property] with no categories
So I figured I’d deactivate sublanguage to get back the previous behavior but the property is still now at estate_property/[the property]
Please advise 1) how to get the categories in the structure 2) how to make sure that if subpanel is deactivated that things still work as before.
Thanks
]]>hey, this plugin is great, but I can not find
thanks!
]]>Hello,
Issue Summary:
The WooCommerce shop page is empty when Products are marked translatable.
Test Procedure:
/shop
https://domain.tld/shop
Expected result:
The shop page (https://domain.tld/shop
) shows the list of products in all active languages whether translation for post type Product is active or not.
Current result:
The shop page (https://domain.tld/shop
) is empty in all active languages when translation for post type Product is active.
Investigating in the source Code of WooCommerce (class WC_Query
on line 383), I noticed $q->is_post_type_archive( 'product' )
returns a falsey value on the shop page, whereas it should return a truthy value.
Please advise.
]]>Tested with just Sublanguage 2.8 and different Yoast SEO versions from 13.5 up to 17.3 on WP 5.8.1 and Twenty Twenty-One: after version 13.5 Yoast SEO title and description translations do not show up in the front end, even though they are stored and shown correctly in the admin. Whichever language version has been active when a page has been saved last, its Yoast translations are shown in the front end for every language. With Yoast SEO 13.5 the translations still work.
Tested with both Gutenberg (with and without asynchronous language switch) and Classic Editor.
Any idea what is causing this, and is there a simple fix?
]]>Greetings,
I am having some trouble getting Content Blocks to switch languages with the rest of the page they are loaded on. The page switches translation fine, however the Content Blocks do not show the translated content. These content blocks are generally used for headers and footers in my site.
I have enabled the translation of Content Blocks in the Sublanguage settings and entered translated text in the language tab. Is there anything else I should be doing?
]]>Is it possible to set plugin to show all posts regardless of language?
I have posts in two languages on my blog, but most of my posts are written in one language only and do not have translations. Number of visitors of my blog are bilingual and actually do not care which language post is written.
My need it to, by default, show all posts on the blog (regardless of the language), but let visitor be able optionally set filter to see posts written in specific language.
Visitor should be able to select preferred language for blog user interface but that should still show all posts regardless of the language.
]]>Hello,
is it possible to use some basic tags like %post_id% in translated URL for custom post type?
Currently permalinks looks like: domain.com/en/test/my-post-slug/
I would like to get permalink like: domain.com/en/test/my-post-slug/1/
Hi, I supposed that a lot of people will have this question.
Then my question is How can I translate an overrided php file located in *your-theme*/woocommerce/emails/customer-processing-order.php when you substitute the default emails in woocommerce? I try with POEDIT and it’s imposible is not working.. I don’t know how to do it.. T_T
My php file is done with printf and esc_html__
I tried a lot of things and it doesn’t work
]]>Hi,
I have a custom page with posts and pagination. Pagination links look like this: en/page_slug/page/2
There is an 404 error on click on every pagination link.
I tried to regenerate permalinks and reinstall Sublanguage plugin, but the error remains. Sublanguage version 2.7.1, Worpress version 5.5.3.
Thank you!
]]>