Title: Translating locations
Last modified: July 10, 2024

---

# Translating locations

 *  Resolved [striboss](https://wordpress.org/support/users/striboss/)
 * (@striboss)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/translating-locations/)
 * I have created map with 2 locations, I use polylang and want to translate information
   in the popup modal for locations. Polylang can’t find string for that, is there
   a way to translate that?
   Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftranslating-locations%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [100plugins](https://wordpress.org/support/users/100plugins/)
 * (@100plugins)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/translating-locations/#post-17883971)
 * Hi [@striboss](https://wordpress.org/support/users/striboss/),
 * Please take a look at [this article](https://polylang.pro/doc/multilingual-custom-post-types-and-taxonomies/).
   It describes how to make custom post types and taxonomies translatable with Polylang.
   _Locations_ are a Custom Post Type and _Marker Categories_ are a Taxonomy.
 * Best regards,
   Daniel
 *  Thread Starter [striboss](https://wordpress.org/support/users/striboss/)
 * (@striboss)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/translating-locations/#post-17884065)
 * Yes, but I have no option to translate open user map CPT.
 * [https://ibb.co/cLBF8LP](https://ibb.co/cLBF8LP)
 *  Thread Starter [striboss](https://wordpress.org/support/users/striboss/)
 * (@striboss)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/translating-locations/#post-17892362)
 * Can someone help me or not?
 *  Plugin Author [100plugins](https://wordpress.org/support/users/100plugins/)
 * (@100plugins)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/translating-locations/#post-17906066)
 * Hi [@striboss](https://wordpress.org/support/users/striboss/),
 * Sorry for the delay. With the next update, Locations and Marker Categories will
   automatically be translatable with Polylang.
 * In the meantime, just add this code to the functions.php of your theme:
 *     ```wp-block-code
       // enables language and translation management for 'oum-location'add_filter( 'pll_get_post_types', 'add_cpt_to_pll', 10, 2 );function add_cpt_to_pll( $post_types, $is_settings ) {	$post_types['oum-location'] = 'oum-location';	return $post_types;}// enables language and translation management for Marker Categoriesadd_filter( 'pll_get_taxonomies', 'add_tax_to_pll', 10, 2 );function add_tax_to_pll( $taxonomies, $is_settings ) {	$taxonomies['oum-type'] = 'oum-type';  return $taxonomies;}
       ```
   
 * Best regards,
   Daniel

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Translating locations’ is closed to new replies.

 * ![](https://ps.w.org/open-user-map/assets/icon-256x256.png?rev=2779645)
 * [Open User Map – Interactive Leaflet Maps](https://wordpress.org/plugins/open-user-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/open-user-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/open-user-map/)
 * [Active Topics](https://wordpress.org/support/plugin/open-user-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/open-user-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/open-user-map/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [100plugins](https://wordpress.org/support/users/100plugins/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/translating-locations/#post-17906066)
 * Status: resolved