🗺️
Mapster WP Maps
HomeProExamplesContact
  • Getting Started
    • About
    • Installation
    • Key Concepts
    • Importing/Exporting
    • Guides
      • Your First Map
      • Creating a Crowdsourced Map
      • Set Up Recurring Import
      • Adding a Custom Style
      • Building a Custom Popup
  • Creating Shapes
  • Displaying Maps
  • Maps
    • Map Tiles
    • Initial View
      • Fit to Features
      • Manual Values
      • User Location
    • Map Size
    • Points, Lines, Polygons
    • Clustering
    • Interactivity
    • Controls
      • Basic Controls
      • Geocoding & Geolocation
      • Togglers
      • Other Controls
      • Control Render Order
    • Filters
      • Category Filter
      • Custom Search Filter
      • Filter Dropdown
    • Lists
      • Store Locator
    • Specialty Maps
      • Map Comparer
      • Heatmaps
      • Elevation Profile
      • User Submission
      • Listing Page Map
    • Preloader
    • Developer
      • Javascript
      • Embedding Maps
      • Faster Loading (Cache)
      • Caching
      • Progressive Loading
  • Locations
    • Markers
    • Circles
    • Labels
    • Icons
    • 3D Models
  • Lines
    • Lines
  • Multi Lines
  • Polygons
    • Flat Polygons
    • 3D Polygons
    • Image Polygons
  • Multi Polygons
  • Popups
    • Popup Templates
      • Introduction
      • Layout, Colors, Text, CSS
      • HTML
      • Options
    • Popup Content
  • Pro Sections
    • User Submission
      • Overview
      • Submission Interface
      • Adding Custom Fields
      • Submission Admin
  • Mass Edit
  • Settings
    • General
    • Account Management
  • Advanced
  • Import
  • Tileset Management
  • Developer
    • Mapster Map ACF Field
    • Mapster Map Gravity Forms Field
    • Custom Scripts
    • Hooks
    • Spatial DB & API
    • Internationalization
Powered by GitBook
On this page
  • Map Language
  • Admin Translation

Was this helpful?

  1. Developer

Internationalization

PreviousSpatial DB & API

Last updated 20 hours ago

Was this helpful?

Need to include translations to other languages, or translate the entire plugin for a client? We've set everything up to work with WPML.

You'll need to first enable the Mapster WP maps Post Types in WPML. Go to WPML > Settings > Post Types Translation, and change Maps, Locations, Lines, and Polygons to "Translatable".

Then enable Map Category translation: go to WPML > Settings > Taxonomies Translation, and change Map Categories to "Translatable".

Now you'll be able to make copies of your maps in different languages, and these will automatically pull any category or other translations from your settings.

There is also a setting in Maps > Features, where you can choose to show features from all languages on your map, even if they don't have a translation in the currently active language.

Map Language

You can select the language for a given map on any Map screen. Just go into the Setup tab and select the language you want. You'll need to use Mapbox for this and a style that has the appropriate language available.

Admin Translation

If you need to translate all the backend language, as well, that can be done through WPML's String Translation plugin. Enable this plugin, go to WPML > Theme and plugins localization > Strings in the plugins and select Mapster WP Maps. Scan the plugin for strings.

Head over to WPML > String Translation and enter translations where you think they are needed. Presto -- internationalized!

Note that by default, translations will only appear in the front end of the site. If you want backend translation as well, you will need to enable "Set admin language as editing language" on the Profile page in the Users area of WP.