Archive

Posts Tagged ‘WPML’

How to Overcome The Missing Posts/Pages After Upgrading to WPML plugin version 1.8.0 of WordPress

July 25th, 2010 Masino Sinaga 2 comments

For those of you who encountered the missing posts/pages after upgrading your WPML plugin to 1.8.0 version, then this following solutin might be help you. Since WPML changed the element_type value of post and page in the icl_translations table, ie each into post_post and post_page, then you have to adjust this value at the element_type field. After doing comparison to several version of WMPL, I found out that this changes happened since WPML version above 1.7.7. In version 1.7.7, this field was still using post and page instead of post_post and post_page. Actually, when you upgrade your WPML to 1.8.0, this value will be automatically adjusted to the new value. But, in some cases, there are some websites that do not automatically turn to the new value, especially if they deactivate and activate the plugin manually (because they upgrade by replacing the files manually, and not using the auto-update feature). Read more…

  • Share/Bookmark

How to Add Your Own Translation Link to Language Switcher by Using WPML Plugin of WordPress

July 14th, 2010 Masino Sinaga No comments

WPML is a plugin which has the ability to turn your WordPress site into complete multilingual content management systems. Unfortunately, until now I meant, at least until the time before I found this following solution, WPML only supports for the translation of the WordPress original content, such as: posts, pages, categories, tags, and menus (since WordPress version 3.0). I can understand about this, since there are so many possibilities about the content you may have in Pods CMS! That is why WPML has not supported for Pods CMS plugin, yet, whereas this feature I have been looking for that could be implemented in WPML too. I have been waiting for such long time, and… today… God bless the day I found this following solution, indeed! Although the following modification I made sounds like a little tricky or hackish into the WPML’s code, but it works very fine at mine. So, if you are using Pods CMS and WPML for your WordPress site, and you want to add your own translation link that came from your own content in Pods CMS into the language switcher that belongs to WPML, then you came to the right place, because this modification is only for you! Read more…

  • Share/Bookmark

How to Replicate the Footer Language Switcher Menu In Order to Display It Also at The Very Top of Site by Using WPML Plugin of WordPress

July 11th, 2010 Masino Sinaga No comments

I saw one of the interesting discussion topic on the WPML Forum about the same thing with the title of this article. By accidentally, I have just modified the custom footer language switcher for one of my websites that using multilingual feature, and also wrote the similar article about it a few days ago on this my blog. Thanks for the topic on the forum, so I can do some exploration in order to implement the solution for the question that has been asked on the forum. So here is the solution I made for it. Read more…

  • Share/Bookmark

How to Add Custom Language Switcher Using WPML Plugin of WordPress

June 25th, 2010 Masino Sinaga No comments

I have just modified the custom language switcher for one of my websites that uses multi language feature by using WPML plugin and Atahualpa theme. I saw the related code to implement it via this following article: Custom Language Switcher. Unfortunately, since WPML has upgraded its version for several times, the “languages_list_footer()” function in that article should be changed in order to compatible with the last version of WPML, including the “lang_native_hidden” and “lang_translated_hidden” parameter that will be used in the “icl_disp_language” function. So here is the modification code that I have created in order to display it in the footer of my theme. Read more…

  • Share/Bookmark

How to Get Current Language Code by Using WPML Plugin of WordPress

January 11th, 2010 Masino Sinaga 8 comments

I have been using WPML Plugin for one of my multi language websites. Once upon a time, I needed to check the current language code in order to execute my own code that I wrote in the sidebar related to the current language. The question is: How did I get that current language code? After do some searching through the author’s website, then I found the answer from this following post: WPML coding API. WPML has provided the constants in order to get: 1) The current language code, 2) The name of current language in the original (current) language, and 3) The name of the current language name in English. Thanks to WPML for providing this constants! Read more…

  • Share/Bookmark

Comparing Translation Plugin: qTranslate vs WPML

August 30th, 2009 Masino Sinaga 7 comments

Another WordPress plugin that has functionality for translating the content of your website besides qTranslate is WPML.  qTranslate stores all languages alternatives for each post in the same post, whereas WPML manages multilingual posts in one post per language. Translations in WPML are then linked together, indicating that one page is the translation of another.  Each of this plugin has advantages and disadvantages. Read more…

  • Share/Bookmark