How do I change language files?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Peetra
Forum Members
Forum Members
Posts: 12
Joined: Sat May 01, 2010 7:24 pm

How do I change language files?

Post 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.
Image ☺♀
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: How do I change language files?

Post 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
User avatar
Peetra
Forum Members
Forum Members
Posts: 12
Joined: Sat May 01, 2010 7:24 pm

Re: How do I change language files?

Post 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! )
Image ☺♀
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How do I change language files?

Post 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='»'}
User avatar
Peetra
Forum Members
Forum Members
Posts: 12
Joined: Sat May 01, 2010 7:24 pm

Re: How do I change language files?

Post 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. :) 
Image ☺♀
Post Reply

Return to “CMSMS Core”