Home › Forums › WP ESTATE – Real Estate WordPress Theme FORUM › Make country list translate with WPML
This topic contains 7 replies, has 2 voices, and was last updated by Nick 2 years, 7 months ago.
The country list is not translatable at the moment. but is something we will do in the next versions. Until then you can do this :
In libs/new-theme-admin.php at line 2345 you have
$countries = array("Afghanistan", "Albania", .................................
replace each country with
__("Country name","wpestate") ,
So you will have
$countries = array(__("Afghanistan","wpestate") ,__("Albania","wpestate"), ......
After that the country list will be translatable.
Thank you! But why didn’t you already make the country list translatable the way you are describing?
We have on our to do list to make this translatable. But until then we created this forum so people can manage this until we release the update.
Thank you. But your how-to is much older than the last update!?
This is for Estate theme and it is not older 🙂
If you wish to have this in Residence as well (makes sense), I have to add it on the to do list as we have not considered this yet.
Oh, my mistake. I didn’t realize, that I was posting in the WP Estate forum section.
Yes, please put it on your to-do list for WP Residence. Thank you!
Ok. Will review this as update for Residence. Had already noted it since yesterday. Thanks. Anna
You must be logged in to reply to this topic.