[ckan-dev] Tag translation w. Scheming

Stéphane Lapointe lapointes at ogsl.ca
Wed Apr 5 19:50:27 UTC 2017


Hi,

I saw that you can translate tags with Tag Vocabularies 
(http://docs.ckan.org/en/latest/extensions/adding-custom-fields.html#tag-vocabularies)

I'm using fluent/scheming and here is my shema's definition:

     (...)
     {
       "field_name": "tags_translated",
       "preset": "fluent_tags",
       "label": {
         "fr": "Mots-clés",
         "en": "Tags"
       },
       "form_placeholder": {
         "fr": "p. ex. économie, santé mentale, gouvernement",
         "en": "eg. economy, mental health, government"
       }
     }
     (...)

Is there a way to translate with something like that in facet_list.html?

h.scheming_language_text(<item.tags_translated>, h.lang())


Thank you



More information about the ckan-dev mailing list