Hi,
I downloaded a Spanish language package from Wordpress itself, as to make my site in Spanish as default. English remains installed as well.
It seems Hivepress automatically changes to Spanish in the frontend when I set Spanish as default.
- Is this correct?
- Can this be disabled and leave Hivepress and all its extensions in English?
If the answer to 1 is “no”, I would need a snippet to get the listings associated to a region. Or a snippet to get a region with its associated listings. At least, I need to be able to reference a “region” object, so I can extract and manipulate its data.
The problem is that besides installing the language package, I installed Translatepress, so visitors can switch from English to Spanish. When a vendor publishes a listing using the website in English, its location and associated regions are created in English (Madrid, Madrid, Spain). If another vendor uploads a listing in a similar location but in Spanish, the location and regions are now in Spanish (Madrid, Madrid, España). So there are 2 regions created for the same location, one in English, one in Spanish.
When a visitor searches listings in English he only gets listings associated to English regions. If in Spanish, only the listings in the Spanish regions appear, even that in fact the region/location is the same.
I would like to access the region from a listing in the backend and add the listing to a second region. Is this possible somehow? Is there some “region” object that I can call and use?
Thanks!