Title: Indicate language
Last modified: August 30, 2016

---

# Indicate language

 *  [randaloulton](https://wordpress.org/support/users/randaloulton/)
 * (@randaloulton)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/indicate-language/)
 * hey there, we have a bilingual site, French and English.
 * [simple-sitemap types=”page”] works great at making an English-only site map.
 * How would I add add a language code filter to that, so that I can now make a 
   site map of the French pages.
 * [simple-sitemap types=”page”]
 * (ICL_LANGUAGE_CODE === ‘fr’) ?
 * [https://wordpress.org/plugins/simple-sitemap/](https://wordpress.org/plugins/simple-sitemap/)

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

 *  Plugin Author [David Gwyer](https://wordpress.org/support/users/dgwyer/)
 * (@dgwyer)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/indicate-language/#post-6862331)
 * I’m not sure how you could achieve that. Multilingual/bilingual sites aren’t 
   really my area of expertise.
 * If there is anything specific you come up with that would help that could be 
   added to the plugin let me know and I’ll look into it.
 * Sorry, I couldn’t be of more help.
 *  Thread Starter [randaloulton](https://wordpress.org/support/users/randaloulton/)
 * (@randaloulton)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/indicate-language/#post-6862388)
 * Hey David, I can appreciate that.
 * Just a side question though….
 * [simple-sitemap types=”page”]
 * is bringing up *only* English pages…..
 * [http://www.cifar.ca/site-map/](http://www.cifar.ca/site-map/)
 * Any idea how it’s doing that, picking only the English ones? Cause then maybe
   I could figure something out…. Would it have anything to do with this code at
   the bottom of the plug in that is restricting it to English language pages?
 * /**
    * Add Plugin localization support. */ function wpss_localize_plugin() {
 *  load_plugin_textdomain( ‘simple-sitemap’, false, dirname( plugin_basename( __FILE__)).‘/
   languages’ );
    }

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

The topic ‘Indicate language’ is closed to new replies.

 * ![](https://ps.w.org/simple-sitemap/assets/icon.svg?rev=1411764)
 * [Simple Sitemap - Create a Responsive HTML Sitemap](https://wordpress.org/plugins/simple-sitemap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-sitemap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-sitemap/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-sitemap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-sitemap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-sitemap/reviews/)

## Tags

 * [french](https://wordpress.org/support/topic-tag/french/)

 * 2 replies
 * 2 participants
 * Last reply from: [randaloulton](https://wordpress.org/support/users/randaloulton/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/indicate-language/#post-6862388)
 * Status: not resolved