[ckan-dev] CKAN API and multilingual tags

VENTURA Oceane OCEANE.VENTURA at atos.net
Tue May 15 15:41:05 UTC 2012


Hi,

I'm trying to use the CKAN API to collect tags of an existing vocabulary thanks to an AJAX call.
When I use the function vocabulary_show (version 3 of the API), tags aren't translated by the multilingual_tag module.
In fact, it's seems that when i'm using the API, the context doesn't have the "for_view" attribute (used by the model_dictize for activate the translation).

What can I do to get translated tags from the API?

[X][X]Thanks,

Océane VENTURA
Business Development & Innovation
ATOS - Public Sector France
oceane.ventura at atos.net<mailto:oceane.ventura at atos.net>
River Ouest,
80 quai Voltaire
95 877 Bezons Cedex
www.atos.net<http://www.atos.net/>


________________________________

Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120515/d231683e/attachment.html>


More information about the ckan-dev mailing list