How to get Localized content?
Posted by halufa on March 19, 2012 at 12:55pm
I'm using Drupal 7.12 with Services 7.x-3.1 and able to fetch content. But now i've a problem, and can't find solution or information for it anywhere: Does Services support localization?
Calling the following URL: http://localhost:7777/?q=en/rr/taxonomy_term/5.json
The answer given is:
{"tid":"5","vid":"1","name":"Services","description":"","format":"plain_text","weight":"0","language":"und","i18n_tsid":"0","vocabulary_machine_name":"connect"}
It ignores the prefix "en" and says language="und".
For index node retrieval have the same problem fetching the nodes for all languages.
Read more