JB Language Switcher

Developer

Joel Bradbury

3rd Party (Free)


EE Version Support

  • ExpressionEngine 1.x

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

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!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!