Renaming a wiki page

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Renaming a wiki page

Post by triplus »

Just wanted to say thanks for taking the initiative.
User avatar
agryson
Posts: 463
Joined: Wed Nov 23, 2016 8:30 am
Location: Bordeaux, France
Contact:

Re: Renaming a wiki page

Post by agryson »

triplus wrote:Just wanted to say thanks for taking the initiative.
No worries, it's a pleasure. I got through all the pages I could find, except for non-English translations, which I'm hesitant to mess around with, but given the redirect I think the impact will be minimal.
User avatar
agryson
Posts: 463
Joined: Wed Nov 23, 2016 8:30 am
Location: Bordeaux, France
Contact:

Re: Renaming a wiki page

Post by agryson »

renatorivo wrote:After the changes, you have to mark the page for translation.
Then you can make changes to the translated page.
Pages /en are automatically translated
I have a slight question regarding this:
When I edit a page I mark it for translation, that's ok.
But you say that "pages in /en are automatically translated" - does that mean I don't need to go into the translation tool to update them?
I just edit the page and mark for translation, end of story?
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Renaming a wiki page

Post by renatorivo »

Hi,
Thanks for your contribution.

The page that must be edited is the page that has no mark of the language. This is the page that is to be marked for translation.

The page /en is a copy automatically produced. On this page you have to change the category only. If it exists. Example [[Category:Documentation]] -> [[Category:Documentation/en]], {{Macro|............}} -> {{Macro/en|............}}

Otherwise, you have translated Std_Measure_Menu/en, but the English page does not reflect the translation.

Renato
User avatar
agryson
Posts: 463
Joined: Wed Nov 23, 2016 8:30 am
Location: Bordeaux, France
Contact:

Re: Renaming a wiki page

Post by agryson »

renatorivo wrote:The page /en is a copy automatically produced. On this page you have to change the category only. If it exists. Example [[Category:Documentation]] -> [[Category:Documentation/en]], {{Macro|............}} -> {{Macro/en|............}}
Great, thank you for the detailed response, I'll go back and clear that up.
User avatar
agryson
Posts: 463
Joined: Wed Nov 23, 2016 8:30 am
Location: Bordeaux, France
Contact:

Re: Renaming a wiki page

Post by agryson »

renatorivo wrote:On this page you have to change the category only. If it exists. Example [[Category:Documentation]] -> [[Category:Documentation/en]], {{Macro|............}} -> {{Macro/en|............}}
I've updated that now. Coud you confirm that I've properly understood updating the category part? I updated them in the /en translation.
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Renaming a wiki page

Post by renatorivo »

Well!
About the categories, you can see this change http://www.freecadweb.org/wiki/index.ph ... did=213344
The bottom of each page must show categories localized with the language of the page that appears in the title bar.

Interesting reading viewtopic.php?f=8&t=14232

Renato
User avatar
agryson
Posts: 463
Joined: Wed Nov 23, 2016 8:30 am
Location: Bordeaux, France
Contact:

Re: Renaming a wiki page

Post by agryson »

renatorivo wrote:Well!
About the categories, you can see this change http://www.freecadweb.org/wiki/index.ph ... did=213344
That's what's weird, I had made the same change but a "FuzzyBot" passed after me and changed it back... ? (see the older edit where I added /en, just like you...)
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: Renaming a wiki page

Post by renatorivo »

agryson wrote:"FuzzyBot" passed after me and changed it back... ?
Each time you mark a page, Fuzzy fully recreates the page /en. All previous changes are lost.
User avatar
yorik
Founder
Posts: 13664
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Renaming a wiki page

Post by yorik »

renatorivo wrote:All previous changes are lost.
Which is pretty annoying. I've tried to find how to remove the /en translation, but haven't found a way...
Post Reply