translating templates {{GuiCommand...}} etc.

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
kaktus
Veteran
Posts: 1183
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

translating templates {{GuiCommand...}} etc.

Post by kaktus »

Hello.
:mrgreen:

While translating the BIM Clone document, I encountered a problem with the lack of a Polish template for GuiCommandAddon.
wycinek3.png
wycinek3.png (18.42 KiB) Viewed 434 times
.
How can you fix it... :?:
I will also ask you to restore permissions to edit the translated content of such templates. :roll:
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: translating templates {{GuiCommand...}} etc.

Post by renatorivo »

Now you can translate https://www.freecadweb.org/wiki/Templat ... ndAddon/pl
Usually, Templates do not use the translation tool, but must be created.
User avatar
kaktus
Veteran
Posts: 1183
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: translating templates {{GuiCommand...}} etc.

Post by kaktus »

:D

Thank you for your help.
The template is already in Polish. :mrgreen:

Will you tell me how to add a new template to make me more self-sufficient :geek: in the future :?:
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: translating templates {{GuiCommand...}} etc.

Post by renatorivo »

When you edit an original page (English), at the bottom of the page you can access the templates used on that page.
template used.PNG
template used.PNG (42.81 KiB) Viewed 402 times
Open the template twice, in two different tabs.
In the second tab, change the address by adding the language code /pl, then open and click on create this page.
Open the first tab, English template page, select all, copy, and then paste into the Template:xx /pl page. Translate, preview and save.
User avatar
kaktus
Veteran
Posts: 1183
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: translating templates {{GuiCommand...}} etc.

Post by kaktus »

;)
Thank you.
with an instructor like that, you can move mountains.
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
Post Reply