Recently I am trying to make my website a bilingual website (English and Thai languages).
I use the plugin called qtranslation. Everything seems to be good when I click on the language change button then the language will then be switched in the content of the pages that I want them to be bilingual.
But ! The passage (from page excerpt plugin) that shows on the featured slider are not switched to the other language automatically even I have put the both languages translation into the the qtranslation box in the page excerpt area.
So sorry, one more thing
When I switched the language of my website to be Thai, then If I click on the featured slider in my homepage, then it will linked me to the English page destination. But actually it should be linked to Thai page because I was in Thai language version at that moment.
Unfortunately, I am not familiar with this plugin therefore I can’t help you to solve this problem. Sorry about that.
Theme does use basic the_excerpt the_title and basic permalink structure and most likely there are something specific about this plugin that holds it back.
WPML is the best choice for WordPress translation. There is nothing you can’t translate with it. If something doesn’t work by default you can always use front-end string translation and other awesome tools. There is nothing you can’t translate with it and also they provide outstanding support in case you get stuck on your own.
Sorry to disturb you again.
I downloaded the WPML plugin and using it at this moment. And the result is great !
However, the excerpt (passage) on the slider still not change (only one language can be displayed).
Is this because the “page excerpt” ?
Or the theme ?
I disabled the “Page Excerpt” Plugin and tested the slider.
It seems the excerpt (passage) on the slider can not be bilingual. When I switch the website language, the excerpt on the slider doesn’t automatically change the language.
I use WPML plugin.
Whant can I do to make the excerpt on the slider be able to be bilingual when I switch the website language using WPML plugin.
Will check WPML compatibility with Travelify theme and try to fix it if possible. And if not, will discuss it through with WPML developer, so it will take at least few days to draw any conclusions.
Thank you very much for your great support as always!!.
Surely I don’t mind about this. I feel so glad to be a user of travelify theme.
Some useful information:
I feel that the slider which normally linked with the page or post, when I clicked change language on the WPML language switcher then click on the slider then the slider doesn’t link to the right language page.
-It seems the slider can be linked to only one language page no matter which language is selected at that moment. I think this is why the excerpt is displayed only one language.
When I adjusted the excerpt in the plugin “Page excerpt”, if the last language adjusted is Thai then the slider will display the Thai version. And the same is applied to English language.
Possibly the reason maybe on how the WPML can alter or adjust itself to the linking function of the " page or post linkage with the slider"
This is just from what I guess, so apologies if I am wrong.
Since you have everything in place, I would appreciate if you could run a quick test and disable Page Excerpt plugin and try to enable this field via functions.php file like this:
add_action('init', 'travelify_custom_init');
function travelify_custom_init() {
add_post_type_support( 'page', 'excerpt' );
}
Add this code right before closing ?> at the very end of functions.php
This should add Page excerpt the same way but I am not sure if it will make any difference but it is worth a shot.
I added the code as you suggested. The page excerpt function is also added into page but not post (My second slider is linked from the post not page). My website is www.hempmethee.com
However my first slider is linked to page “product”, the results are as follows:
When I switched my website to Thai and clicked on the slider, it still link to the English page not Thai page.
When I switched my website to Thai and clicked on the slider, the excerpt passage on the slider still show in English language not Thai language
ps) I think WPML team will be willing to work with you in order to develop Travelify theme to be compatible with WPML (They told me like this too). I used to contacted WPML and at first they thought that it is “Page excerpt” plugin which is not compatible with WPML. But now after I disabled it then the problem still there. And the most important thing is that the slider don’t link to the correct page and post with the correct language, so it possibly be the theme itself which may not be compatible with WPML.
If you decided to work this out with WPML team, please kindly let me know too, I will wait for the result as I am Travelify’s fan
Thank you very much !
So apologise for my late reply, I didn’t receive the email notification that you posted something in this post. So I thought that you didn’t reply.
Thank you very much for your effort keep me posted
Just would like to ask you about the progress between you and WPML team
is everything alright?
ps) don’t misunderstand that I am rushing you. I never think about doing that. Just would like to know the progress. Your theme had already given me a big big support for me.
Travelify WPML test website is up and demo content is added and I yesterday got some suggestions from WPML team and hopefully will make some progress this week. There were some few other changes that they disliked about theme rather than just slider and I should fix those as well to make it WPML certified.
Thank you very much, you are a great man.
If you need any help from me you can send me an email anytime.
I am specialize in Thai language (as I am Thai), if you need any help regarding any of your project that needs Thai language support, you can just tell me.
So sorry I am extremely bad at website building and many kinds of internet stuff, so the thing I can best help you maybe about Thai language.