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

Look into language independant linking of wikipedia #573

Open
MelissaAutumn opened this issue May 6, 2024 · 1 comment
Open

Look into language independant linking of wikipedia #573

MelissaAutumn opened this issue May 6, 2024 · 1 comment

Comments

@MelissaAutumn
Copy link
Member

A localizer adjusted the localization to link to the language specific page of "Open source" instead. Unfortunately it broke the site builds.

I checked for a language-independant way of linking to a wikipedia article and it turns out you sort of can't. You can query a list of linked articles via the api by item id, or you can add something like https://www.wikidata.org/wiki/Special:GoToLinkedPage/{lang}wiki/Q1130645 (lang replaced by two letter locale code) which does work but I would need to time to map our locale codes with wikipedias. (It's probably the same standard, just needs verification.)

Either way something to look into when I have the time.

@MelissaAutumn
Copy link
Member Author

We could also just expose the url to Pontoon and just let the localizers handle it 🤔

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

No branches or pull requests

1 participant