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

Fix that Graphryder cannot understand multilingual code names provided by Open Ethnographer #3

Open
tanius opened this issue Sep 4, 2019 · 0 comments

Comments

@tanius
Copy link
Member

tanius commented Sep 4, 2019

Due to a recent feature addition to Open Ethnographer, ethnographic codes can now have multiple names, each with a language code assigned. The multiple names are also provided via API. A code record in JSON format obtained via API could be as follows, for example:

{
    "id": 1234,
    "description": null,
    "creator_id": 123,
    "created_at": "…",
    "updated_at": "…",
    "ancestry": null,
    "names": [
        {"name": "Internet generation", "locale": "en"},
        {"name": "Internet-Generation", "locale": "de"}
    ]
}

This has already been fixed by @aerugo in the version running behind graphryder2.edgeryders.eu, but the changes are yet to be provided upstream. Also, the current solution has to be refactored somewhat before including it here. This issue is a reminder for that 🙂

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