When I open the start.fedoraproject.org/tr/ It always a download a file when I try to open that file with my browser I can see the website in my language but online, not working
The issue is not limited only to start.fp.o/tr, but also to other websites such as http://fedoraproject.org/tr.
For the record, we have this issue for other languages. We need to check them all, and #138 #139.
This as to be an apache miss-configuration. But still no clues.
Greek translation in website is different problem! i thing so....
I ran the following script to know which languages are not pushed with a Content-Type not "text/html". thanks to Greeks (ticket #139) for the clue.
{{{
LANG="fedoraproject.org/po/LINGUAS"
[[ -f $LANG ]] || exit 1
for l in cat $LANG do status=curl -is http://start.fedoraproject.org/$l/ |grep Content-Type echo $status | egrep -qE "html" [[ $? -eq 0 ]] || echo "$l: $status" done }}}
cat $LANG
curl -is http://start.fedoraproject.org/$l/ |grep Content-Type
Here is the output:
{{{ el: Content-Type: text/plain; charset=utf-8 nb: Content-Type: application/mathematica tr: Content-Type: application/x-troff }}} Those languages are not pushed as html by apache.
fixes are on the git repo, but not yet on our infra (different conf files). I am adding two patches to fix that, just need more test before applying.
make it easy 0001-Merge-websites-apache-languages.conf-files.patch
Real fix. use RemoveType directive if not solved as for pl. 0002-updates-websites-languages-configuration.-Fix-web-14.patch
Is the first of those patches for fedora-web and the other for fedora puppet repo? or ?
I tried to do some testing today in staging, and it didn't seem like it was fully working.
Ping me sometime when you have time and we can further debug in staging.
Both are from puppet. The first one is just to merge all config files as we don't need separated ones. This is the one that I would like you to check as I am editing the manifest.
Then the second one is just to get the language working, but if it does not work, we would need to use RemoveType instead of AddType or whatever I used... :)
I don't know how the apache conf gets reload once this files change..
There should be no breakage. I don't know yet if I'll be free tomorrow or on Friday.. will ping you. Thanks
fixed now with the AddType directive for the following languages: bn, el, nb, pl, tr
Please reopen if it's not fixed for any other language in the next houre. Thanks to nirik to have made this on the infra.
Thank you everyone !!! Thank you so much !!