
This is a localizable version of Ainslie Johnson‘s wp-andreas09 theme.
There are no changes to the layout, but every text which could be displayed to the user can now be translated by changing a single file. So it is not necessary any more to change any theme file for a translation into a different language.
Download: wp-andreas09-l10n.zip
Languages:
- English – default by Ainslie Johnson
- Deutsch – provided by myself, Tim Zylinski
- Czech – by Calaf
- Hungarian – by Dragomán György
- Spanish – by NeiL
- Malay – by Ameyr Pippo
- Norwegian nynorsk – by Eivind Ødegård
Feel free to send me your language files. I would appreciate to include them in this list.
Creating your own language file:
First you should learn about the WordPress translation mechanism:
On WordPress.org: Translating WordPress
I learned a lot about localization with gettext and the internals of wordpress. You can read a short summary of my findings here: Localizing WordPress Themes (English) or WordPress Themes lokalisieren (German)
Then grab a tool of you choice (poEdit, KBabel, etc.) to create a translation using the included .pot file.
Save and/or create a .mo file. This file must be saved with the filename of the ISO-639 language code of your target language. E.g. de_DE.mo, en_EN.mo, pt_BR.mo, …
Put this .mo file in your theme directory. Make sure, that the filename matches the WPLANG value in your wp-config.php file. Otherwise WordPress will not use your language file.
Done!
(And don’t forget to send me your translation
)
Notes:
- Based on “WP-Andreas09 Theme for WordPress 2.0″ Version 1.5 by Ainslie Johnson. Footer Fix applied.
- Identified 99 locations of strings which can be translated.
- Added calls to load_theme_textdomain() in header.php and functions.php
- Added credits
Update 02/02/06
Applied the fix for a little bug in the original theme by Ainslie Johnson to this version of the theme. The ZIP file contains the latest version.
Update 03/02/06
Little fix in archive.php. The date was not translated. To update your installation, you just need to replace that file.
Update 03/23/06
Added the hungarian localization file.
Update 04/19/06
Added the spanish localization file.
Update 10/04/06
Added the malay localization file.
Update 04/15/09
Added the Norwegian nynorsk localization file.
Pingback: Dentaku » Alles neu hier (mit Danksagungen und vielen Links)