[memb_if_lang]

Summary

Enables you to provide multiple language support on your pages.

Shortcode Examples

Display different text to different users depending on their language settings:

[memb_if_lang]
Default text goes here that will be displayed to the visitor if there is no better match
[lang=”cn”]
Chinese text goes here that will be displayed to the visitor if they prefer Chinese
[lang=”es”]
Spanish text goes here that will be displayed to the visitor if they prefer Spanish
[/memb_if_lang]

 

 

 

Shortcode Parameters​

capture:  Capture the output of the shortcode and route it to a variable for later use. (?)

txtfmt: A comma separated list of text processing functions to be used to post process the contact fields. (?)

 

This shortcode detects the current visitor’s preferred language and displays the copy and images that are the best match for the viewer’s language needs.

Shortcode Attributes

Conditional: Yes (?)
Nestable: No (?)
Accepts formatting: Yes (?)
Capturable: Yes (?)

Additional Information

 

Examples of two-letter ISO 639-1 codes
Language familyISO 639-1 codeLanguage variant
Englishen-GBBritish English
en-USAmerican English
en-CACanadian English
en-INIndian English
Spanishes-ESCastilian Spanish (as spoken in Central-Northern Spain)
es-MXMexican Spanish
es-ARArgentine Spanish
es-COColombian Spanish
es-CLChilean Spanish
Portuguesept-PTEuropean Portuguese (as written and spoken in Portugal)
pt-BRBrazilian Portuguese
Tamilta-INIndian Tamil
ta-LKSri Lankan Tamil
Kannadaknkannada
kn-INIndian Kannada
Chinesezh-CNMainland China, simplified characters
zh-TWTaiwan, traditional characters
zh-HKHong Kong, traditional characters

 

 

9 ways to add more value to your membership site

[memb_if_lang]

This Applies To