Is it possible to omit URL wiki variables from translation in homepage.po?

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
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Is it possible to omit URL wiki variables from translation in homepage.po?

Post by Kunda1 »

For example: "title=Feature_list"
Even though user ediloren wrote this very nice heads-up:

Code: Select all

Please note that this is a link, not a label to be fully translated. I.e. you should not translate "title=Main_Page" to "titolo=Pagina_principale" but to "title=Main_Page/it". The same goes for the other languages.
Translators are still making that error: see https://crowdin.com/translate/freecad/2 ... ca#6498346

Can the 'title=' portion be excluded?
Or for example for this specific string we could just automagically append the country code to "title=Main_Page/" ?
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
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Is it possible to omit URL wiki variables from translation in homepage.po?

Post by yorik »

I don't think that is possible...
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Is it possible to omit URL wiki variables from translation in homepage.po?

Post by Kunda1 »

yorik wrote:I don't think that is possible...
Then as an alternative the translators need to be made aware of this or perhaps someone needs to check and fix any broken wiki links
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
Post Reply