AddonManager does not load Swedish translation if only using language in filename

Open
#378 1 comment 0 reactions 0 assignees View on GitHub

@yeager is already working on this.

Since Nov 20, 2026.

  • #530 by @yeager — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Reproduce the issue with AddonManager_sv.qm and AddonManager_sv-SE.qm, then trace the AddonManager translation-loading entry point to compare how language filenames are handled. Done means a language-only filename loads the Swedish translation without requiring a country code, while existing country-specific filenames continue to work.

Written by the indexing model from the issue text.

Description

AddonManager does not load Swedish translation if only using language in filename.

When using the file "AddonManager_sv.qm" it will not load it, changing it to "AddonManager_sv-SE.qm" is works.

Not sure this applies to other languages but specifying the country should not be needed for most languages.

Dominant language
Python
Stars
24
Forks
36
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FreeCAD/AddonManager

All issues in FreeCAD/AddonManager

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.