Hello all
I am translating Fedora Wiki and I probably messed up with the language template somehow in case of the page https://fedoraproject.org/wiki/Magazine/Magazine_Team/cs because it offers English only but not Czech language. The same is valid for English version https://fedoraproject.org/wiki/Magazine/Magazine_Team
If I edit the language template, "cs" is listed next to "en" so both languages should be visible on the wiki page but that's not true. Not sure what caused this issue, maybe I accidentally moved the order of some page(s) so they are not properly interlinked between each other now....?
Thanks for any help or hint to fix it.
Le 15/03/2018 à 14:53, Zdenek Chmelar a écrit :
Hello all
I am translating Fedora Wiki and I probably messed up with the language template somehow in case of the page https://fedoraproject.org/wiki/Magazine/Magazine_Team/cs because it offers English only but not Czech language. The same is valid for English version https://fedoraproject.org/wiki/Magazine/Magazine_Team
If I edit the language template, "cs" is listed next to "en" so both languages should be visible on the wiki page but that's not true. Not sure what caused this issue, maybe I accidentally moved the order of some page(s) so they are not properly interlinked between each other now....?
Thanks for any help or hint to fix it. _______________________________________________ trans mailing list -- trans@lists.fedoraproject.org To unsubscribe send an email to trans-leave@lists.fedoraproject.org
Hi,
the process is described there: https://fedoraproject.org/wiki/Fedora_Project_Wiki:Translating
On the source page: add {{autolang|base=yes}} on top, and save.
Edit again the page, you'll see a new template named: "Lang/source page", edit it.
For your page : https://fedoraproject.org/wiki/Template:Lang/Magazine/Magazine_Team
Add every languages code with translation. Here : 'cs'.
Go in the translated page and add {{autolang}}
Theoretically, not a single page should use the "Lang" template itself.
Have a nice day
Hello Jean-Baptiste
Thanks a lot for your feedback. This procedure is actually what I normally follow but I do not know what I did in this case. I was able to fix the Czech page as well now (removing the {{autolang}} and adding it back again from "Lang/source page".
Thanks again. Z.
On 15 March 2018 at 15:07, Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr
wrote:
Le 15/03/2018 à 14:53, Zdenek Chmelar a écrit :
Hello all
I am translating Fedora Wiki and I probably messed up with the language template somehow in case of the page https://fedoraproject.org/wiki /Magazine/Magazine_Team/cs because it offers English only but not Czech language. The same is valid for English version https://fedoraproject.org/wiki/Magazine/Magazine_Team
If I edit the language template, "cs" is listed next to "en" so both languages should be visible on the wiki page but that's not true. Not sure what caused this issue, maybe I accidentally moved the order of some page(s) so they are not properly interlinked between each other now....?
Thanks for any help or hint to fix it. _______________________________________________ trans mailing list -- trans@lists.fedoraproject.org To unsubscribe send an email to trans-leave@lists.fedoraproject.org
Hi,
the process is described there: https://fedoraproject.org/wiki /Fedora_Project_Wiki:Translating
On the source page: add {{autolang|base=yes}} on top, and save.
Edit again the page, you'll see a new template named: "Lang/source page", edit it.
For your page : https://fedoraproject.org/wiki /Template:Lang/Magazine/Magazine_Team
Add every languages code with translation. Here : 'cs'.
Go in the translated page and add {{autolang}}
Theoretically, not a single page should use the "Lang" template itself.
Have a nice day
-- Jean-Baptiste Holcroft
trans mailing list -- trans@lists.fedoraproject.org To unsubscribe send an email to trans-leave@lists.fedoraproject.org
Le 15/03/2018 à 16:28, zdenek a écrit :
Hello Jean-Baptiste
Thanks a lot for your feedback. This procedure is actually what I normally follow but I do not know what I did in this case.
I had a second thought at this issue, and I think it may be related to the fact it is the translation of a two level page name : "Magazine/Magazine_Team"
The automatic link only includes Magazine, which means the Template don't know how to hangle the subpage part "Magazine Team".
Can you check if you can reproduce the bug with other pages?
I saw this as well. It confused me and that's why I thought I had messed up the page level order. The discrepancy I see on "https://fedoraproject.org/wiki/ *Magazine/Magazine_Team*": *1)* If I hover the mouse over the "English (en)" of the language box, the web browser shows the path: "https://fedoraproject.org/wiki*/Magazine_Team*" *2)* But if I open (via edit) the language box on this wiki page, the page hierarchy is defined as "{{lang|cs|en|page=*Magazine/Magazine Team*}}"
Based on the language box definition, I would expect the mouse hovering should show "https://fedoraproject.org/wiki*/Magazine/Magazine_Team*" instead.
Similar page structure (two level) is in case of " *Account_System/NewAccount*" ( https://fedoraproject.org/wiki/Account_System/NewAccount) In this case: *1) *Mouse hover above "English (en)" shows "https://fedoraproject.org/wiki/ *Account_System/NewAccount/en*" *2)* The language box contains "{{lang|cs|bg|en|...|zh-tw| page=*Account System/NewAccount*}}"
Well both points are equal and all works well on this page.
Another example of multilevel wiki page is *Infrastructure/AccountSystem/DownloadCert* ( https://fedoraproject.org/wiki/Infrastructure/AccountSystem/DownloadCert). Again mouse hover link as well as language box are equal.
So it seems only Magazine/Magazine_Team is corrupted.
Additional issues I see on https://fedoraproject.org/wiki/Magazine/Magazine_Team *a)* A french language is added in the language box but if you edit the box, the French language is missing *b)* If you click on "English (en)", the EN language stays as a link (e.g. it does not change to bold letters without link as it is done in case of active language)
On 15 March 2018 at 23:58, Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr
wrote:
Le 15/03/2018 à 16:28, zdenek a écrit :
Hello Jean-Baptiste
Thanks a lot for your feedback. This procedure is actually what I normally follow but I do not know what I did in this case.
I had a second thought at this issue, and I think it may be related to the fact it is the translation of a two level page name : "Magazine/Magazine_Team"
The automatic link only includes Magazine, which means the Template don't know how to hangle the subpage part "Magazine Team".
Can you check if you can reproduce the bug with other pages?
-- Jean-Baptiste Holcroft _______________________________________________ trans mailing list -- trans@lists.fedoraproject.org To unsubscribe send an email to trans-leave@lists.fedoraproject.org
Another test I did: Both links below https://fedoraproject.org/wiki/Magazine/Magazine_Team https://fedoraproject.org/wiki/Magazine_Team
open "Magazine/Magazine_Team" wiki page.
I would expect that the second link should not work and I should get message that the page does not exist
Could it be there are 2 wiki pages having different web link but the same content (and the language box is "confused")?
Wiki page https://fedoraproject.org/wiki/Magazine, section "Magazine Contributors" - link provided there leads to https://fedoraproject.org/wiki/Magazine_Team - is that mistake or correct? (the link works with or without "/Magazine" anyway)
Wiki page https://fedoraproject.org/wiki/Magazine, section "Administering the Magazine" - link provided there leads to https://fedoraproject.org/wiki/Magazine/Admin (e.g. link includes "/Magazine"). If I remove "/Magazine", link https://fedoraproject.org/wiki/Admin leads nowhere which is expected. (Wiki https://fedoraproject.org/wiki/Magazine/Admin works without any issue)
On 16 March 2018 at 23:25, zdenek chmelarz@gmail.com wrote:
I saw this as well. It confused me and that's why I thought I had messed up the page level order. The discrepancy I see on "https://fedoraproject.org/wiki/ *Magazine/Magazine_Team*": *1)* If I hover the mouse over the "English (en)" of the language box, the web browser shows the path: "https://fedoraproject.org/wiki */Magazine_Team*" *2)* But if I open (via edit) the language box on this wiki page, the page hierarchy is defined as "{{lang|cs|en|page=*Magazine/Magazine Team* }}"
Based on the language box definition, I would expect the mouse hovering should show "https://fedoraproject.org/wiki*/Magazine/Magazine_Team*" instead.
Similar page structure (two level) is in case of " *Account_System/NewAccount*" (https://fedoraproject.org/ wiki/Account_System/NewAccount) In this case: *1) *Mouse hover above "English (en)" shows "https://fedoraproject.org/ wiki/*Account_System/NewAccount/en*" *2)* The language box contains "{{lang|cs|bg|en|...|zh-tw| page=*Account System/NewAccount*}}"
Well both points are equal and all works well on this page.
Another example of multilevel wiki page is *Infrastructure/AccountSystem/DownloadCert* (https://fedoraproject.org/ wiki/Infrastructure/AccountSystem/DownloadCert). Again mouse hover link as well as language box are equal.
So it seems only Magazine/Magazine_Team is corrupted.
Additional issues I see on https://fedoraproject.org/ wiki/Magazine/Magazine_Team *a)* A french language is added in the language box but if you edit the box, the French language is missing *b)* If you click on "English (en)", the EN language stays as a link (e.g. it does not change to bold letters without link as it is done in case of active language)
On 15 March 2018 at 23:58, Jean-Baptiste Holcroft < jean-baptiste@holcroft.fr> wrote:
Le 15/03/2018 à 16:28, zdenek a écrit :
Hello Jean-Baptiste
Thanks a lot for your feedback. This procedure is actually what I normally follow but I do not know what I did in this case.
I had a second thought at this issue, and I think it may be related to the fact it is the translation of a two level page name : "Magazine/Magazine_Team"
The automatic link only includes Magazine, which means the Template don't know how to hangle the subpage part "Magazine Team".
Can you check if you can reproduce the bug with other pages?
-- Jean-Baptiste Holcroft _______________________________________________ trans mailing list -- trans@lists.fedoraproject.org To unsubscribe send an email to trans-leave@lists.fedoraproject.org