Page 1 of 1
How do I change language files?
Posted: Wed Jul 21, 2010 9:41 am
by Peetra
Where do i find for example the "you are here" text, so i could change it t "U R here". I prefer to work directly in the file system using Komodo, but if there is a way in the admin-panel I really would like to know both ways.
Re: How do I change language files?
Posted: Wed Jul 21, 2010 10:39 am
by Jos
You should not want to change the language files, since you lose your changes on every update.
However CMSms offers a smart way to customize the language strings. Read all about it here:
http://calguy1000.com/Blogs/6/60/custom ... lates.html
Re: How do I change language files?
Posted: Wed Jul 21, 2010 11:02 am
by Peetra
Jos wrote:
You should not want to change the language files, since you lose your changes on every update.
I am kind of working with old lang files already, since I have Swedish and Finnish as site languages, therefor it would be of great value to store changes in file system for using on other projects in the future.
But I didn't realize that I probably can override existing strings using the way you suggest by link and then use the same override for other projects, (Well, actually I haven't even one project yet to be done, but I really belive in the power of CMSMS, so therefor I look many years ahead and hope that I get the chance to build many sites in CMSMS! )
Re: How do I change language files?
Posted: Wed Jul 21, 2010 5:04 pm
by Dr.CSS
The "You are here" text is actually hard coded in the template when the breadcrumb tag is called...
{breadcrumbs starttext='You are here' root='Home' delimiter='»'}
Re: How do I change language files?
Posted: Thu Jul 22, 2010 7:21 am
by Peetra
oooh... I'll have to make it into a $lang-thingie then. I shore hope there isn't a lot of other hardcoded language-stuff in the frontend, but it was really good to learn about this one. Thank you.