Comments (19)
from freecad.
How do I see the program interface
All names of operations in the tree must be translated.
To identify the operation by users with a different language, either icons or an internal name can be used (as done by RealThunder)
(screen from LinkDaily branch)
As far as I know, RealThunder changes to solve the topological problem just introduce the concept of an internal name. I hope after version 0.20 we will have code for Label & Attributes Tree View ready for translation.
As a variant we can make switch in parameters like "Use Internal names instead label" In this mode user will see untranslated features, like Pad, Pad001 and other.
from freecad.
bumping for discussion as we are close to release and this is a translation issue
from freecad.
I'd like to have a tool to show the name of a tree object, but rather another optional column Name than a tooltip. This would give a quick overview of all object names at once instead of clicking each item separately if you search for a special name.
from freecad.
Default labels like Body, Origin, Pad, Wall, Window, Line, Rectangle... should definitely be translated. I think they are already, almost everywhere. It might be worth having a good look at which are not translated yet. Usually that's because the developer didn't specifically set the label, so by default it is the same as the internal name. But it's an easy fix
from freecad.
Related to idea described here #5547 (comment)
Kuzma30@3e3f42c
What this commt do:
- Add variables for 3 column in TreeViev where is planed to show Internal Name.
- Add content menu with checkbox.
What not complete: - I don't know where in Tree.cpp code I can add QString::fromUtf8(Obj->getNameInDocument();
Need help.
from freecad.
The presented solution seems to be close to ideal.
We have a saying in our country "I wilk jest syty, i owca cała" (The wolf is full and sheep are whole).
And this solution brought this saying to my mind.
Every user (even the most fierce malcontent) should be satisfied when they receive such a prepared "tool".
from freecad.
Some forum discussion about this: https://forum.freecadweb.org/viewtopic.php?f=21&t=68683&p=595170&hilit=5547#p595170
The object names are in theory translatable but if I'm not mistaken only on creation, and most objects don't implement this.
I'm not sure how desirable this really is, I prefer to see the internal name directly when the object doesn't have a meaningful label and it would be a nightmare to open a file created in for example chinese in another unrelated language, even worse if you don't have a font with the characters. So IMO the current solution of translating in the label is not good, displaying internal names in the tree view in the corresponding language would be better.
Also, perhaps kuzma has learned this since then but internal names are a concept as old as freecad I believe, just look at the status bar when selecting an object in the tree view, maybe what realthunder did is to introduce that tooltip mentioning this.
from freecad.
@kaktusus did someone make a workaround for this?
from freecad.
it seems to me that nothing was happening on this topic.
from freecad.
The solution proposed by Aleksandr (@Kuzma30) is very cool and convenient.
I think it is worth implementing it.
from freecad.
To close this issue we really just need to figure out what it still missing -- any volunteers? @kaktusus is there someone on the translation team who could help identify what's missing?
from freecad.
I can take care of it personally. 😉
from freecad.
these objects are the action of Draft's workbench tools.
from freecad.
we see the label Sketch
and Tube
(Part)
from freecad.
tools from the Part tools bar
from freecad.
Boolean toolbar tools (Part) also produce objects whose labels have no translations.
from freecad.
Currently, every workbench that creates objects in the view tree is deficient in translating the names of these objects.
from freecad.
Here someone else pointed out these objects. Maybe in a different context but there is an additional signal of irregularities.
from freecad.
Related Issues (20)
- [Problem] Issues with compiling FreeCAD from source on Linux(Solus) HOT 4
- [Regression] Rework initial dialog when creating a Sketch in PartDesign HOT 2
- Tool path leak HOT 2
- Variant links to lattice2 arrays fail with Property container has no property 'Support' HOT 6
- Preferences: "Manage Preference Packs" dialog is redundant HOT 1
- Add the ability to clear recent documents list HOT 3
- Arch: error when setting the Terrain property: gp_GTrsf::Trsf() - non-orthogonal GTrsf HOT 3
- DXF import needs a dedicated import dialog HOT 1
- Bring back additional folder on the Start page HOT 3
- Exporting "RobotExample" as .glb or .gltf is missing the robot HOT 1
- FemCalculixCantilever3D example opens with errors HOT 1
- Opening embedded text document sets the FC file as modified
- Embedded Text Document modified state isn't correctly propagated to FC file
- Embedded Text Document isn't correctly saved when saving FC file
- Document Move Recovery: `XLink` with `UUID` HOT 5
- Qt6: Rendering of overlay TreeView is broken HOT 8
- PartDesign::Body can't be used as a body BaseFeature HOT 4
- CI Windows Conda C++ Test Failure HOT 2
- Preferences: Help Button does nothing / Remove it?
- [Feature Request]Making toolbars more compatible with basic design principles HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecad.