Support for languages other than English
elhombresinatributos - July 30, 2006 - 08:14
| Project: | Monthly Archive |
| Version: | 4.7.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | elhombresinatributos |
| Status: | closed |
Description
Well, I think the title is comprehensive enough to have to explain much more.
Thanks!!
S.

#1
Coded in the .module.
Edit the .module file with a text editor and you'll find:
a) A constant value for setting the title of the "Monthly Archive" block.
b) A trad_mes function for translating english month names to your language.
Without any modification the module writes the names in Spanish but it's very easy to change.
#2
thanks,I put your version into ../more_language/Spanish.
#3
I've made some minor changes.
The most important one is to change the title of the pages /month/yyyy/mm to spanish. My changes are fully documented and easy to customize to fit any other language than spanish but it could be more clean. I'm not a programmer and it's my very first "work" with PHP.
Maybe someane would like to improve my changes. It would be nice if it's possible to change the names of the months and the title of the month's page from the DRUPAL interface and without having to edit the module directly.
Thanks to you anyway, your module works great for me.
#4