[ECODP-dev] term translation api

Bert Van Nuffelen bert.van.nuffelen at tenforce.com
Mon Sep 2 20:33:48 UTC 2013


Hi David,

I think the confusion on our side is that not all translations are offered
through this interface.

I just tried again on odp. (As I am at home.)

I retried for a translated description:

http://odp.tenforce.com/fr/data/dataset/VfGQxcxVB8MAfEYpM6ihBA

http://odp.tenforce.com/data/api/action/term_translation_show?terms=This%20is%20a%20description%20about%20the%20test%20dataset%20simple_complete
.

And it returns results.

However,
http://odp.tenforce.com/data/api/action/term_translation_show?terms=Greece
http://odp.tenforce.com/data/api/action/term_translation_show?terms=Publisher

return empty lists. Although these words are translated.

Can you explain the behavior?

best regards,

Bert



2013/9/2 David Raznick <david.raznick at okfn.org>

> Hello
>
> The correct thing todo is put "terms"
>
> http://192.168.35.145/data/api/action/term_translation_show?terms=Eurostat
>
> If the term does not exist you get an empty list back not a 400 error.
>
> Thanks
>
> David
>
>
>
> On 30 August 2013 14:23, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com
> > wrote:
>
>> Hi John,
>>
>> we execute
>>
>> http://192.168.35.145/data/api/action/term_translation_show?term=Publisher
>>
>> in our browser
>>
>> but we receive always the answer
>>
>> "term not found"
>>
>> Is this the right way to get the translation for terms via the CKAN api?
>>
>> best regards,
>>
>> Bert
>>
>> --
>> Bert Van Nuffelen
>>
>> Semantic Technologies Software Architect at TenForce
>> www.tenforce.be
>>
>> Bert.Van.Nuffelen at tenforce.com
>> Office: +32 (0)16 31 48 60
>> Mobile:+32 479 06 24 26
>> skype: bert.van.nuffelen
>>
>> _______________________________________________
>> Ecodp-dev mailing list
>> Ecodp-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>
>>
>


-- 
Bert Van Nuffelen

Semantic Technologies Software Architect at TenForce
www.tenforce.be

Bert.Van.Nuffelen at tenforce.com
Office: +32 (0)16 31 48 60
Mobile:+32 479 06 24 26
skype: bert.van.nuffelen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130902/fb78a2de/attachment.html>


More information about the ecodp-dev mailing list