How to get Localized content?

Events happening in the community are now at Drupal community events on www.drupal.org.
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.

Am I doing something wrong or is a Services limitation? If so, any directions to solve the problem? I could contribute to the project if proper directions given.

Thanks...

Comments

Good question

Posted by snarfman (not verified) on March 19, 2012 at 4:03pm
snarfman's picture

I'm wondering the same thing.. I posted a similar question in the Services group but didn't get any answer yet.

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /