[solved] Wiki or Manual image size, original vs translation

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
FBXL5
Posts: 979
Joined: Sat Aug 03, 2019 8:45 pm

[solved] Wiki or Manual image size, original vs translation

Post by FBXL5 »

Hello community,

I just noticed that the image size differs if you compare the english original with a translated page. See https://wiki.freecad.org/Manual:The_FreeCAD_Interface and https://wiki.freecad.org/Manual:The_Fre ... terface/de. The italian translation displays images in the original size

Code: Select all

[[Image:FreeCAD-v0-18-FirstStart.png|none]]
= original naming and used in the german translation.

Code: Select all

[[Image:FreeCAD-v0-18-FirstStart.png]]
= used in the italian translation.

It seems that the implementation of the none attribute is at least not perfect.

What is the best way to get the same image size for original and translated pages?
- Remove the "none" from the original entries.
- "Translate" without "none".
- Rework the "none" attribute.

Or is there another solution?
Last edited by FBXL5 on Sun Mar 26, 2023 9:42 pm, edited 1 time in total.
User avatar
Roy_043
Veteran
Posts: 8449
Joined: Thu Dec 27, 2018 12:28 pm

Re: Wiki or Manual image size, original vs translation

Post by Roy_043 »

AFAIK 'none' has to do with alignment. I have just tried removing 'none' from the German translation of the page and this does not have any effect on the image size. I don't know what is the actual cause of the problem.
User avatar
Roy_043
Veteran
Posts: 8449
Joined: Thu Dec 27, 2018 12:28 pm

Re: Wiki or Manual image size, original vs translation

Post by Roy_043 »

Fixed now. The problem was caused by a difference in Template:Manual:TOC/de:
https://wiki.freecad.org/index.php?titl ... id=1245811
User avatar
FBXL5
Posts: 979
Joined: Sat Aug 03, 2019 8:45 pm

Re: Wiki or Manual image size, original vs translation

Post by FBXL5 »

Roy_043 wrote: Sun Mar 26, 2023 2:44 pm AFAIK 'none' has to do with alignment. I have just tried removing 'none' from the German translation of the page and this does not have any effect on the image size. I don't know what is the actual cause of the problem.
Without the "none" the images have the same size now.
Even the preview of your first change shows all 6 images having the same size as the originals now. :shock: ?
User avatar
Roy_043
Veteran
Posts: 8449
Joined: Thu Dec 27, 2018 12:28 pm

Re: Wiki or Manual image size, original vs translation

Post by Roy_043 »

That is because of the change in the mentioned template. Old versions of https://wiki.freecad.org/Manual:The_Fre ... terface/de do use the latest version of the template.
User avatar
FBXL5
Posts: 979
Joined: Sat Aug 03, 2019 8:45 pm

Re: Wiki or Manual image size, original vs translation

Post by FBXL5 »

Roy_043 wrote: Sun Mar 26, 2023 4:13 pm That is because of the change in the mentioned template.
The answer wasn't ready while I was (slowly) typing my earlier response. :roll:

I've noticed you updated the spanish template, too. Good to know that you don't stop half way.
Post Reply