EllisLab text mark
Advanced Search
     
New ‘template_language’ plugin available.
Posted: 05 November 2005 10:45 AM   [ Ignore ]
Joined: 2004-06-01
18 posts

I’ve written an EE plugin that will let you change language localization settings from within templates. I call it the ‘template_language’ plugin. It’s attached to this post as ‘pi.template_language.txt’. To use the attachment (save it into your plugin folder and) rename it to pi.template_language.php.

It can be used to:

(A) Override any site wide language localization settings and any user control panel language preferences for a CURRENT template/page.

OR

(B) Override any site wide language localization settings and any user control panel language preferences for FUTURE templates/pages (that a user will visit after the current one). This works only for ANONYMOUS (not logged in) users. I use it to set the language for the “user message template” (such as the “mailinglist subscription message” etc.).

Please try it out and give me your feedback about bugs etc. I plan to add the final version to the pMachines list of plugins for EE if you like. Thanks.

File Attachments
pi.template_language.txt  (File Size: 6KB - Downloads: 1173)
 Signature 

mode.com | schmuck.com | mode.ch | shop.ch

 
Posted: 05 November 2005 11:37 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2004-07-22
149 posts

Sounds brilliant, many thanks!

:: andy

 Signature 

ExpressionEngineer - custom solutions for EE

I EE

 
Posted: 06 November 2005 03:58 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2004-08-07
4 posts

Thanks a lot!

 
Posted: 06 November 2005 12:55 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2004-09-09
119 posts

Yep sounds great smile

 Signature 

Web Hosting - CMS - Izrada web stranica - SEO - Marketing Hrvatska

 
Posted: 12 March 2006 11:33 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2005-11-24
2 posts

Works great - exactly what I have been looking for grin Thank you so much for a great little tool

 
Posted: 12 May 2006 09:37 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2003-08-13
94 posts

You just saved my day (or rather my client’s)!

Thanks a lot!

grin

Ayza

 Signature 

Lidne Inc. :: Business by Design

 
Posted: 01 June 2009 12:01 PM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2006-11-24
16 posts

I try to apply this plugin and doesnt works (ExpressionEngine 1.6.7) someone knows a plugin like this to override locale settings?

Thanks

 Signature 

Víctor Hugo Hernández
Twitter / nullun
Cali - Colombia

 
Posted: 19 June 2009 07:39 AM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2008-06-27
326 posts
vik407 - 01 June 2009 04:01 PM

I try to apply this plugin and doesnt works (ExpressionEngine 1.6.7) someone knows a plugin like this to override locale settings?

Thanks

ext.language_switcher might be the thing you’re looking for:
http://elwinzuiderveld.nl/downloads/language_switcher.zip

 Signature 

outline4.ch | buy me a beer…