Skip to content

Add PURL redirect for DO translations#1052

Merged
jamesaoverton merged 2 commits intoOBOFoundry:masterfrom
allenbaron:do/translation
Jul 18, 2025
Merged

Add PURL redirect for DO translations#1052
jamesaoverton merged 2 commits intoOBOFoundry:masterfrom
allenbaron:do/translation

Conversation

@allenbaron
Copy link
Copy Markdown
Contributor

Adds redirects for ontology translation files, currently in Spanish (owl/obo) or international (owl) only.

It was decided that these files should have PURLs formatted like this: /obo/doid/translations/<file name>, with versionIRIs that have a similar pattern, and be located in the src/ontology/releases/translations/ directory of HumanDiseaseOntology GitHub repository. This update is necessary because existing DO PURLs do not redirect to this "releases" directory and these translation files are only saved in this releases/translations location in the repository.

Comment thread config/doid.yml Outdated
@jamesaoverton
Copy link
Copy Markdown
Member

I think this will work, but make sure to test it (>20 minutes after I merge).

@allenbaron
Copy link
Copy Markdown
Contributor Author

I will. Sorry I got that year wrong.

@jamesaoverton jamesaoverton merged commit 6040402 into OBOFoundry:master Jul 18, 2025
1 check passed
@allenbaron
Copy link
Copy Markdown
Contributor Author

It works for all the files and across multiple releases. Thanks.

@allenbaron allenbaron deleted the do/translation branch July 21, 2025 14:39
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

Successfully merging this pull request may close these issues.

2 participants