FreeCAD-Homepage icon indicating copy to clipboard operation
FreeCAD-Homepage copied to clipboard

Enable Swedish translation for the website

Open yeager opened this issue 8 months ago • 17 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Problem description

Enable Swedish translation for the freecad.org website. Thank you

Full version info

Enable Swedish translation for the freecad.org website. Thank you

Subproject(s) affected?

Other (specify in description)

Anything else?

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

yeager avatar Jul 02 '25 13:07 yeager

I'm moving this back to the Homepage repo because it isn't a strings bug with the translations, but a script issue here in the homepage repo.

chennes avatar Sep 03 '25 19:09 chennes

Swede here 👋, I was happy when freecad ditched the swedish translation as it was in really bad shape. Some important parts of the text hasn't been translated so I'm not sure it has improved since.

It opens up another discussion, should we enable translations that doesn't have proof-readers? (we want to give a good impression, right? how do we ensure that without verification?) Should we have a staging server which includes all translations so you can more easily see what's missing/need to be changed?

hyarion avatar Sep 04 '25 06:09 hyarion

@yeager looking at your resumé I'm sure you could help out in making it really good. Is this something you'd like to help out with?

hyarion avatar Sep 04 '25 06:09 hyarion

Well, just finished a large project so I could potentially help out here as well.

yeager avatar Sep 04 '25 07:09 yeager

If you need help with the swedish terminology you could look at Alibre's swedish material. Jeppsson also has a swedish book about inventor which is on sale for 175sek which could be really helpful to get the right terminology in the translations.

hyarion avatar Sep 04 '25 08:09 hyarion

Thanks. I have now bought the book (PDF). Looks like the whole Swedish translation needs a complete review. Do I get artistic freedom? Can I start from scratch?

yeager avatar Sep 04 '25 10:09 yeager

We're getting quite off-topic but it is a much needed discussion. Do you use discord (link to our sever), if so we could chat there about how to proceed. If not, would you be ok if I email you ? (I found your (info)email through your previous work)

I'll check with the other maintainers what they think, while waiting on your reply.

hyarion avatar Sep 04 '25 12:09 hyarion

OK, I went to hunt this down, and it looks to me like there is indeed a Swedish translation of the website: https://www.freecad.org/index.php?lang=sv_SE

Since I don't speak any Swedish I can't speak to how well it is done, but is that not the right language code?

chennes avatar Sep 04 '25 14:09 chennes

Strange, its there now :S

hyarion avatar Sep 04 '25 15:09 hyarion

It is missing a lot of translated strings further down

yeager avatar Sep 04 '25 16:09 yeager

It is missing a lot of translated strings further down

Yes, these strings are sadly missing in crowdin. The current translation could be improved a lot.

I've raised the issue with Yorik and he said that there's no proofreader currently for Swedish so if you want to give it a go and retranslate stuff then you're more than welcome!

Let me know if there's anything I can help you with. Is it enough that I go in and accept your translations or should I remove the accepted strings to make it easier for you? Maybe the homepage would be a great start, but any help would be appreciated :)

hyarion avatar Sep 04 '25 16:09 hyarion

I synchronized with CrowdIn earlier this week, are they still missing? Maybe I messed something up.

chennes avatar Sep 04 '25 16:09 chennes

I see a lot of new strings were added August 31st so all good. If you do a new sync, Swedish website should be 100%

yeager avatar Sep 04 '25 17:09 yeager

OK, I went to hunt this down, and it looks to me like there is indeed a Swedish translation of the website: https://www.freecad.org/index.php?lang=sv_SE Since I don't speak any Swedish I can't speak to how well it is done, but is that not the right language code?

"sv_SE" is technically correct I guess. But I would have expected just "sv" as only one form of Swedish exist, as far as I know.

BTW, currently the flags for "sv", "zh", "es", "pt", and "sr_RS" get a 404. Renaming "sv_SE" to "sv" would fix one. Similarly I think it is normal to use "es" for "es_ES" and pt for "pt_PT". "zh" seem a bit wrong as both "zh_CN" and "zh_TW" exist on the site.

andershol avatar Sep 13 '25 18:09 andershol

Yeah, the flags are 404'd here as well.

sv_SE = Swedish in Sweden sv_FI = Swedish in Finland sv covers them both

yeager avatar Sep 13 '25 18:09 yeager

None of that is being hand-generated, so the culprit is in here someplace: https://github.com/FreeCAD/FreeCAD-Homepage/blob/main/updatefromcrowdin.py

chennes avatar Sep 13 '25 18:09 chennes

I see that https://www.freecad.org/lang/sv/flag.jpg is missing Also sr_RS, es, pt, zh is missing as well

yeager avatar Oct 14 '25 08:10 yeager