Giter Site home page Giter Site logo

Comments (19)

luzpaz avatar luzpaz commented on May 14, 2024 1

CC @kaktusus @Kuzma30

from freecad.

Kuzma30 avatar Kuzma30 commented on May 14, 2024 1

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)

Знімок екрана з 2022-05-10 16-42-15
(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.

luzpaz avatar luzpaz commented on May 14, 2024 1

bumping for discussion as we are close to release and this is a translation issue

from freecad.

FC-FBXL5 avatar FC-FBXL5 commented on May 14, 2024 1

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.

yorikvanhavre avatar yorikvanhavre commented on May 14, 2024 1

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.

Kuzma30 avatar Kuzma30 commented on May 14, 2024 1

Related to idea described here #5547 (comment)
Kuzma30@3e3f42c
What this commt do:

  1. Add variables for 3 column in TreeViev where is planed to show Internal Name.
  2. Add content menu with checkbox.
    What not complete:
  3. I don't know where in Tree.cpp code I can add QString::fromUtf8(Obj->getNameInDocument();
    Need help.

image
image

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

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.

adrianinsaval avatar adrianinsaval commented on May 14, 2024

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.

luzpaz avatar luzpaz commented on May 14, 2024

@kaktusus did someone make a workaround for this?

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

it seems to me that nothing was happening on this topic.

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

The solution proposed by Aleksandr (@Kuzma30) is very cool and convenient.
I think it is worth implementing it.

from freecad.

chennes avatar chennes commented on May 14, 2024

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.

kaktusus avatar kaktusus commented on May 14, 2024

I can take care of it personally. 😉

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

obraz

these objects are the action of Draft's workbench tools.

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

obraz

we see the label Sketch
and Tube (Part)

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

obraz
obraz

tools from the Part tools bar

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

Boolean toolbar tools (Part) also produce objects whose labels have no translations.

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

Currently, every workbench that creates objects in the view tree is deficient in translating the names of these objects.

from freecad.

kaktusus avatar kaktusus commented on May 14, 2024

Here someone else pointed out these objects. Maybe in a different context but there is an additional signal of irregularities.

#10519 (comment)

from freecad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.