GeoDirectory SupportTranslating main category (post type) in the url – GeoDirectory Support https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/feed Sat, 13 Dec 2025 23:40:24 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44772 <![CDATA[Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44772 Mon, 06 Jul 2015 07:51:15 +0000 giacomo Hi all,

another question about translating url part:

Is it possible to translate automatically (according to the site actual language) the main category (post type) in the url?

for example:

http://museum-advisor.com/museums/italy/tuscany/florence/uffizi-gallery/

to

http://museum-advisor.com/it/musei/italy/tuscany/florence/galleria-uffizi/

?

I bought also CPT. If it’s possible to change the main category (post type), is it possible to change also the custom one?

Thanks

Maurizio S.

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44802 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44802 Mon, 06 Jul 2015 13:51:26 +0000 giacomo Ok, i translated it by:
WPML –> Translation Management –> Multilingual Content Setup –> Custom posts

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44807 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44807 Mon, 06 Jul 2015 14:53:45 +0000 Paolo Hi,

You will find options to translate custom post type slugs under WPML->Translation Options > Custom posts.

Select translate for the cpt needed and save, a new option will appear: Use different slugs in different languages for Places.

Once you select that, you will have option to translate your CPT slug.

Thanks

p.s. Please always refer to WPML docuementation or suppórt forum for questions related to WPML before posting here.

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44809 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44809 Mon, 06 Jul 2015 15:11:16 +0000 giacomo Ok thanks all and sorry for the wrong post placement

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44818 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44818 Mon, 06 Jul 2015 15:45:10 +0000 giacomo ok, that’s translated, but now i lost the page because the url is :

http://museum-advisor.com/it/musei/gd_taxonomy/galleria-degli-uffizi/

gd_taxonomy is present also if i delete it from
WPML –> Translation Management –> Multilingual Content Setup –> Custom posts

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44893 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44893 Tue, 07 Jul 2015 07:20:31 +0000 giacomo i notice that the geolocalization parts of the url (italy/tuscain/florence for example) don’t appear even if the option in

“Geodirectory -> Permalinks -> Add full location info with country, region and city slug in listing urls ”

is flagged.

is it a bug?

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44903 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44903 Tue, 07 Jul 2015 09:12:08 +0000 Stiofan O'Connor How did u translate “museums” in the .po file or somewhere in WPML?

Stiofan

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44904 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-44904 Tue, 07 Jul 2015 09:36:13 +0000 giacomo I used the WPML integrated options

First i flagged

WPML –> Translation Management –> Multilingual Content Setup –> Custom posts slug translation options -> Translate custom posts slugs (via WPML String Translation)

it appeared the option for translate the slugs in the url flagging:

WPML –> Translation Management –> Multilingual Content Setup –> Custom posts slug translation options -> Custom posts -> Use different slugs in different languages for Museums.

and there i wrote the various translations.

in english is ok… here is the working url:
http://museum-advisor.com/museums/italy/tuscany/florence/museums/uffizi-gallery/
but for the other languages is not… for example i got for the italian page of the listing
http://museum-advisor.com/it/musei/galleria-degli-uffizi/
and it gives the epic 404 error (and in the url the part about geolocalization (italy/tuscany/florence) don’t appears)

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-45608 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-45608 Mon, 13 Jul 2015 09:16:42 +0000 giacomo This is still a problem, i think it will be fixed with the next update … correct?

]]>
https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-45637 <![CDATA[Reply To: Translating main category (post type) in the url]]> https://wpgeodirectory.com/support/topic/translating-main-category-post-type-in-the-url/#post-45637 Mon, 13 Jul 2015 16:50:35 +0000 Paolo We are doing our best to make it happen.

Thanks for your patience,

]]>