i18n for ContentBox

Hello

I like to move out any strings out of the code of my views, templates, etc. into i18n. I don’t have the need for multilingual sites, it’s “only” a cleanup action.

ColdBox offers some i18n functionality, but i didn’t see a function to set the path to my resource bundle and a function to retrieve strings.

Any idea?

cheers

Martin

http://wiki.coldbox.org/wiki/i18n.cfm

Also, modules now support resrouce bundles:
http://wiki.coldbox.org/wiki/WhatsNew:3.8.0.cfm#Major_Enhancements-Improvements

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Thank you Luis, i didn’t see this release notes.

wow, it works already :wink:

I had to add a slash to the end of the path to find my default bundle, which isn’t the case in the online documentation:

defaultResourceBundle = "includes/i18n**/**",
defaultLocale = "de_CH",

Cheers

Martin

Fantastic!

Marco G. Williams

Information Technology Manager

Global Electronic Technology

949.380.0345 x209

image001.jpg