Hi,
I've translated most of what I need at this time. However there is a field which I just can't find. It's the Description: field that you can see in the Configure Custom Fields. I tried to change it there, but if I use the danish word for Description the field and the content of that field don't show up when you view the album. I've also tried to look the Description: up in most of the code but I can't find it. Where is it?? :-?
Jon
Posts: 8
the custom fields are custom, you just changed the default costum fields to be added to the new albums.
you must edit all your albums and change the custom field name hitting the "custom fields" link on each album
hope i helped you
Posts: 3473
Jon,
Custom fields are free strings chosen by the admin. You can have any word you want. As these are not translated, the program has no way of realising that "Description" and "signalement" (wild use of translation software) are the same field.
The idea is you chose the names of the custom fields in your chosen language.
. . . . however, you could try this quick hack to get the field translated on the view_photo page.
edit view_photo.php, find
print "<tr><td valign=top align=right><b>$field:<b></td><td>".
and change it toprint "<tr><td valign=top align=right><b><?php echo _($field) ?>:<b></td><td>".
Note: **** UNTESTED ******
Posts: 6818
Hi Jon,
you have a danish translation for 1.4 ?
Can you please contact me via email ?
There are other danish volunteers...
Maybe you can work in a team ?
note to joan suggestion:
_($field) works fine but the content of $field has to be added manually to .po file and rebuild corresponding .mo
Jens
Posts: 3473
He was quite specific: he wants to translate "Description" which should already be translated into most languages.
But more generally, you are right.