Hi all,
Fedora docs' source strings have URLs to doc pages in /en-US/ language. For me it is surely better to change it to my language, but such translated versions haven't been published yet. I could use change e.g. /en-US/ to /pt-BR/, but I wouldn't be able to test it. Right now, trying to access the translated version gives me a 404 Not Found page.
Example URLs: - Good: https://docs.fedoraproject.org/en-US/council/policies - 404: https://docs.fedoraproject.org/pt-BR/council/policies - 404: https://docs.fedoraproject.org/council/policies
Is there a general URL format that deals with language content, allowing me to not specify the language in the doc page URL?
Best regards, Rafael Fontenelle
On Tue, Jun 30, 2020 at 2:37 PM Rafael Fontenelle rafaelff@gnome.org wrote:
Fedora docs' source strings have URLs to doc pages in /en-US/ language. For me it is surely better to change it to my language, but such translated versions haven't been published yet. I could use change e.g. /en-US/ to /pt-BR/, but I wouldn't be able to test it. Right now, trying to access the translated version gives me a 404 Not Found page.
It looks like pt_BR is what you want, not pt-BR.
But pt_BR is almost entirely untranslated for the Council docs: https://translate.fedoraproject.org/languages/pt_BR/fedora-docs-l10n-council...
Is there a general URL format that deals with language content, allowing me to not specify the language in the doc page URL?
I'm not sure why the language drop down only lists en-US by default (although you can see other languages in the drop-down when you specify any other language by editing the URL). I've opened a ticket with the docs team to look at that:
https://pagure.io/fedora-docs/docs-fp-o/issue/139
language drop down only displays in localized version to allow testing.
as it worked fine for a gew days now, Adam and I say it's ready for production. we just need a communication blog post, then it will be open to everybody:) i am on it it will come soon -- Jean-Baptiste