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

Export list of tWs for tw_cat.json #43

Open
jag3773 opened this issue Dec 6, 2017 · 5 comments
Open

Export list of tWs for tw_cat.json #43

jag3773 opened this issue Dec 6, 2017 · 5 comments
Labels

Comments

@jag3773
Copy link
Contributor

jag3773 commented Dec 6, 2017

Once we have the tWs encoded in the UGNT and (eventually) in the UHB, we need a script to pull the tW links out and create the tw_cat.json files for the tS v2 API.

This is related to #42 but it depends on unfoldingWord/translationCore#3204 and unfoldingWord/translationCore#3365 .

@jag3773 jag3773 added the blocked label Dec 6, 2017
@jag3773
Copy link
Contributor Author

jag3773 commented Jun 18, 2019

@neutrinog Can you provide links to the static JSON snippets that are in the catalog (especially for OBS).

a.k.a tw_cat.json

@da1nerd da1nerd self-assigned this Jun 18, 2019
@da1nerd
Copy link
Contributor

da1nerd commented Jun 18, 2019

@jag3773 each book has a static catalog of terms. Those are located at https://cdn.door43.org/v2/ts/<<book>>/en/tw_cat.json.
For example: https://cdn.door43.org/v2/ts/zec/en/tw_cat.json.

These files are not generated by the api and will remain static unless manually updated.

@da1nerd
Copy link
Contributor

da1nerd commented Jun 18, 2019

I have also confirmed that OBS uses the same words as the Bible. For example: the words.json (this is the terms field in the resource.json) is the same for Zec and Obs. For english translations the words are at https://cdn.door43.org/v2/ts/bible/en/words.json. Each language will have it's own translated version of words.json.

These files are automatically generated by the api from dictionary resource containers. For example https://git.door43.org/Door43-Catalog/en_tw.

@da1nerd da1nerd removed their assignment Jun 18, 2019
@da1nerd
Copy link
Contributor

da1nerd commented Jun 18, 2019

Oh and specifically the OBS catalog file is at https://cdn.door43.org/v2/ts/obs/en/tw_cat.json.

@da1nerd
Copy link
Contributor

da1nerd commented Jun 18, 2019

After a review of the API code I think it's safe to remove the translationWords links from the notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants