EE 1
EE 2
JB Language Switcher
Developer
3rd Party (Free)
Compatibility
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Better Workflow
- Matrix
Requirements
- jQuery for the Control Panel
Categories
Plugin
Tags
An EE Addon that places (or replaces) a 2 letter language code in the first segment of a url.
Usage
Given the current url is : /the/site/path
{exp:jb_langswitcher lang="cy"}
→ /cy/the/site/path
Of if the url was : /en/the/site/path
{exp:jb_langswitcher lang="cy"}
→ /cy/the/site/path
Assumptions
If no “lang” parameter is supplied a default of ‘en’ will be used
Any 2 character url segment at segement_1 will be taken as a language code, and replaced.
Feel free to take it and run with it.
JB Language Switcher Links
This entry was created March 14, 2011, 11:48 am.
This entry was last updated March 14, 2011, 4:47 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
There are no reviews for this add-on yet.
What are you waiting for? Rate it and review it!