Wiki sidebar links are broken in French

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
NormandC
Veteran
Posts: 18588
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Wiki sidebar links are broken in French

Post by NormandC »

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 1403 times
    FC_wiki_UI_language_02.png
    FC_wiki_UI_language_02.png (25.57 KiB) Viewed 1403 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 1403 times
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Wiki sidebar links are broken in French

Post by renatorivo »

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

Re: Wiki sidebar links are broken in French

Post by Kunda1 »

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.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Wiki sidebar links are broken in French

Post by renatorivo »

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
Veteran
Posts: 18588
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Wiki sidebar links are broken in French

Post by NormandC »

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
Veteran
Posts: 53934
Joined: Tue Mar 17, 2015 9:14 am

Re: Wiki sidebar links are broken in French

Post by chrisb »

Thanks, I pinged you in the french forum, you can ignore it.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
kazan417
Posts: 23
Joined: Thu May 24, 2018 3:10 pm

Re: Wiki sidebar links are broken in French

Post by kazan417 »

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

Re: Wiki sidebar links are broken in French

Post by chrisb »

It should rather link to Sketcher workbench https://www.freecadweb.org/wiki/Sketche ... _Sketching.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply