View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000090 | QElectroTech | website | public | 2016-10-07 16:13 | 2026-09-24 11:25 |
| Reporter | Morganol | Assigned To | |||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | Qt5.6.1, kf5.27.0, Plasma5.8.0, | OS | Linux 4.7.6, gcc 5.4.0, | OS Version | Mageia 6 |
| Summary | 0000090: For elements and templates, use localised names regardless if QET interface is translated or not... | ||||
| Description | I.e for swedish, try to prefer this line in .elmt : <name lang="sv">A swedish translation of element name</name> Like the user interface, fall back to en if localised line is not found. This way users can more effifiently create new elements in QET which look more professional locally -and maybe later better have time to contribute ;) | ||||
| Tags | No tags attached. | ||||
|
|
It already correctly support *creation* of user collection folders and elements: It even self writes "sv" in Langugae fields for creation of both folders and elements. For folders It also displays the "sv" names in Collections pane when no other language is defined. But elements are shown using file names instead :( |
|
|
What language used should be evaluated separately element by element - at least for User collection This have to have some fallback logic, and preferrably settable by user as a priority list; 1) system (settable by user to override) 2) best fallback (en by default?) settable; In sweden some may want danish or norwegian 3) secondary fallback (fr by default) ... maybe more items in list If none in list: use filename |
|
|
This works now, even when QET's interface is not translated into your language. Element and folder names follow the system language: on a Swedish system QET shows the <name lang="sv"> entry, then falls back to English, then to the file name. GitHub #537 (merged 2026-07-11) added the step that makes a regional locale such as sv_SE find the "sv" names. https://github.com/qelectrotech/qelectrotech-source-mirror/pull/537 It is in the current development builds and will be in the next release. The user-set priority list (for example Danish before English) was not added. If you still want that, a new report just for it will be easier to track. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-10-07 16:13 | Morganol | New Issue | |
| 2016-10-07 17:59 | Morganol | Note Added: 0000173 | |
| 2016-10-12 11:08 | Morganol | Note Added: 0000179 | |
| 2021-02-15 00:45 |
|
Fixed in Version | => SVN/trunk |
| 2021-02-15 00:49 |
|
Severity | feature => block |
| 2021-02-15 00:50 |
|
Category | Diagram Editor => website |
| 2026-09-24 11:25 | ispyisail | Note Added: 0000884 | |
| 2026-09-24 11:25 | ispyisail | Status | new => resolved |
| 2026-09-24 11:25 | ispyisail | Resolution | open => fixed |