Wiki sidebar links are broken in French

Discussions about the wiki documentation of FreeCAD and its translation.
User avatar
NormandC
Posts: 18210
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Wiki sidebar links are broken in French

Postby NormandC » Thu Jan 17, 2019 5:52 am

I have no ideas why, but when you set the wiki's UI to French from the top bar, the sidebar links now have a /en suffix appended to the /fr suffix.

Did somebody make changes recently?

Try this:
  1. Click on "English" in the top right of the Main Page, and switch the wiki's UI to français (French); if it's not listed, you can type it in the search field.
    FC_wiki_UI_language_01.png
    FC_wiki_UI_language_01.png (5.38 KiB) Viewed 296 times
    FC_wiki_UI_language_02.png
    FC_wiki_UI_language_02.png (25.57 KiB) Viewed 296 times
  2. Click on any link in the left sidebar.
    FC_wiki_UI_language_03.png
    FC_wiki_UI_language_03.png (13.98 KiB) Viewed 296 times
renatorivo
Posts: 2034
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Wiki sidebar links are broken in French

Postby renatorivo » Thu Jan 17, 2019 9:50 am

/en was added to the sidebar links, for all languages, we need to investigate
sidebar.png
sidebar.png (23.64 KiB) Viewed 283 times
User avatar
Kunda1
Posts: 3831
Joined: Thu Jan 05, 2017 9:03 pm

Re: Wiki sidebar links are broken in French

Postby Kunda1 » Thu Jan 17, 2019 2:33 pm

It may have been me. I was working on simplifying the sidebar but didn't get too far. Was waiting to see if anything broke. Which it may have.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
renatorivo
Posts: 2034
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Wiki sidebar links are broken in French

Postby renatorivo » Thu Jan 17, 2019 5:42 pm

Kunda1 wrote:
Thu Jan 17, 2019 2:33 pm
It may have been me.
No, it's the changes made by Kazan417
User avatar
NormandC
Posts: 18210
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Wiki sidebar links are broken in French

Postby NormandC » Tue Jan 22, 2019 12:38 pm

I reverted kazan417's changes.

https://www.freecadweb.org/wiki/index.p ... on=history

kazan417 wrote:Now all links in the sidebar link to curret page language.
(...)
fix english links, unfortunally they are not localizable because of redirection. dont know how to fix now
kazan, next time you mess up the wiki, please do not leave it broken. Revert your changes.

The links in the sidebar were already automatically linking tho the current page language. It was working BEFORE your changes, there was no need to add {{PAGELANGUAGE}} everywhere. That's what was causing the issue.
chrisb
Posts: 14090
Joined: Tue Mar 17, 2015 9:14 am

Re: Wiki sidebar links are broken in French

Postby chrisb » Tue Jan 22, 2019 2:35 pm

Thanks, I pinged you in the french forum, you can ignore it.
kazan417
Posts: 23
Joined: Thu May 24, 2018 3:10 pm

Re: Wiki sidebar links are broken in French

Postby kazan417 » Mon Feb 18, 2019 4:53 pm

i am so ssory for that. :oops:
1 small question. It is correct that "working with constraints" link goes to part design page?
chrisb
Posts: 14090
Joined: Tue Mar 17, 2015 9:14 am

Re: Wiki sidebar links are broken in French

Postby chrisb » Mon Feb 18, 2019 5:24 pm

It should rather link to Sketcher workbench https://www.freecadweb.org/wiki/Sketche ... _Sketching.