PDA

View Full Version : language file & templates



Spookious
08-27-2007, 08:01 PM
There's obivious changes with the way SS4 handles the language file & templates vs the way SS3.5 handled them.

I'm puzzled at this change. What I'm referring to specifically is how the templates are written to only have code that makes a call to the language file for the actual text (reference: About Us page, Privacy Policy page, etc). Is there a reason behind this? Do the pages load faster or something?

I'm finding it limiting (can't use apostrophes in the lang file) & cumbersome (having to edit both the lang file AND the template - instead of just the template). Is there some reason from a programming standpoint that I'm just not seeing/not aware of?

Can any of you programmers/webdevs shed some light on this?

TWT-Chris
08-28-2007, 11:04 PM
I don't exactly get what you mean. The idea behind the language file is to make all the text centrally located for those that which to simply change the working or language. Also you can use all of the apostrophes you want, you just need to add a slash before them. i.e don\'t

Also you don't need to use that language file at all if you don't want to, just replace the language variable call with your text.