The user and all related content has been deleted.
Did you try the html meta tag plugin? That should do it automatically (I think...). If you need to do it manually use this:
http://www.zenphoto.org/documentation/core/_functions-i18n.php.html#functionget_language_string
But you need to use $_zp_gallery->get('desc') as all functions already get the language of the visitor or what the site is set to.
The user and all related content has been deleted.
The user and all related content has been deleted.
The user and all related content has been deleted.
Well, the gallery is indeed a complete object, and has the description method. It is just that there is no database table associated with the gallery object.
All Zenphoto objects contain the method $obj->getDesc() which will return the description in the current language (assuming the site is multi-lingual). [Well, maybe not all, but all for which a description makes sense.]
The $obj->get(item) method should almost never be used. It directly fetches the database table element for the [i]item[/i] column. This bypasses any method algorithms (like selecting the current language from the description element.)