Title: Adding language switcher
Last modified: September 30, 2019

---

# Adding language switcher

 *  Resolved [stoledo55](https://wordpress.org/support/users/stoledo55/)
 * (@stoledo55)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-language-switcher/)
 * I need to add the language switcher on my age gate form, any ideas how to do 
   that?

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

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-language-switcher/#post-11994715)
 * Hi [@stoledo55](https://wordpress.org/support/users/stoledo55/),
 * You can do this like so in your themes functions:
 *     ```
       function add_switcher_to_age_gate(){
       	$wpml_short = do_shortcode('[wpml_language_selector_footer]');
       	return $wpml_short;
       }
       add_filter('age_gate_after', 'add_switcher_to_age_gate');
       ```
   
 * If you want it before the form, use `age_gate_before` instead.
 * Thanks
    Phil
 *  Thread Starter [stoledo55](https://wordpress.org/support/users/stoledo55/)
 * (@stoledo55)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/adding-language-switcher/#post-11994738)
 * Thanks you for your response but i have solved it with another way.
    Thanks,

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

The topic ‘Adding language switcher’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [stoledo55](https://wordpress.org/support/users/stoledo55/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/adding-language-switcher/#post-11994738)
 * Status: resolved