I have a developed rentacar website. It works very well. I started using WPML plugin to translate it to other languages (Turkish now). It translates most of context well. But not some functions like "Detaylar" (Details) or "Rezervasyon" (Book this car) on [url removed, login to view]
I wrote this to WPML forum. A developer from WPML looked at the website code and he commented "As far as I have seen the code, you are generating the data from custom "rooms" tables, WPML icl_link_to_element or icl_object_id will only work if translations are available to corresponding wp_posts table.
WPML is not able to find any translations for $room["$i"]->ID which its trying to look up into wp_posts and wp_translations table.
In order to make it work, you need to store it into wp_posts table and translate it to secondary language. You will have to completely need to change the logic of your code, how you are currently storing values to "rooms" table and retriving it. So WPML can recognize the translations and display appropriate content."
I see that people work with you are happy and you have 100% completion rate. Can you comment on my needs? My email is sahinozyurek (at) [url removed, login to view] Thanks,