Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilingual issues using the content api #68

Open
acorbi opened this issue Mar 6, 2015 · 0 comments
Open

Multilingual issues using the content api #68

acorbi opened this issue Mar 6, 2015 · 0 comments

Comments

@acorbi
Copy link

acorbi commented Mar 6, 2015

http://cambodia.opendevelopmentmekong.net using mqTranslate multilingual plugin

On http://cambodia.opendevelopmentmekong.net/kh/#!/map=63843 (notice /kh/ on the url) a list of posts is presented, featuring most of them in its Khmer version. When clicking the GET GEOJSON button, which generates following link http://cambodia.opendevelopmentmekong.net/kh/?geojson=1, only the english versions of the contents are being included in the geojson file.

The wished behaviour would be that both the khmer and english contents would be featured for each item. Basically, title and content should be available for each language the post has been written in.

Possible solutions:

  • The content api generates a title_CODE and content_CODE ( CODE = Language code) attribute for each of the languages.
  • The content api detecst the selected language and includes only the corresponding contents.
    The best would be if the api could be configured so both options listed above are possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant