Beginner Question about language files in themes

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
drx
Regular
Posts: 17
Joined: Fri May 26, 2006 3:04 pm
Contact:

Beginner Question about language files in themes

Post by drx »

Maybe i am too stoopid to find it somewhere in the documentation, but HOW exactly can i include a custom language file with a theme?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Beginner Question about language files in themes

Post by garvinhicking »

Hi!

Checkout the bulletproof template for example. You can load that via a theme'S config.inc.php file.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Look at bulletproof. We have lang_de.inc.php (German) and lang_en.inc.php (English) in both the main template folder /templates/bulletproof/ and the UTF-8 subfolder of /tempaltes/bulletproof/UTF-8. That's it.
=Don=
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

Don Chambers wrote:We have lang_de.inc.php (German) and lang_en.inc.php (English)
Now that we're in svn, we even have lang_bg.inc.php. I think this is Bulgarian, and I'd really like to use this post to thank Ivan Cenov for translating it! :)

YL
Post Reply