We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question
0

How to add multiple languages (FiWare POI)

asked 2016-11-29 20:14:26 +0100

edvnaz gravatar image

Hello, If I try to update only one language jsonDescription.put("en", descriptionMap.get("en")); other ones ex:(es, de), get removed.

I would try to download all of languages and after editing one reupload all of them again. but "Accept-Language" gets only one chosen language.

What would be solution for this, because I feel this is wrong way to update/upload languages?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-12-02 11:36:39 +0100

ariokkon gravatar image

updated 2016-12-04 01:53:23 +0100

You have to get texts in all the available languages, when you are going to update the data, in order not to lose data. To get all the available languages you have to set the parameter get_for_update=true in the get_pois request. Otherwise, only the language selected by the Accept-Language is returned. Carefully read User's Manual: Update.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-11-29 20:13:00 +0100

Seen: 3,125 times

Last updated: Dec 04 '16