Git Product home page Git Product logo

Comments (8)

rkhaotix avatar rkhaotix commented on June 27, 2024

Hello gjunming!

pgModeler was intended to be a small tool used in my work this justify the "Brazilian Portuguese" language on the UI. As the project started to be known by other peoples from other countries, I've made a little patch that enables the use of other language via "translation files".

pgModeler has the en_US as alternative language. You can change the startup script "start-pgmodeler.sh" and set the LANG variable to "LANG=en_US.utf8"!

Its impossible, at the moment, change ALL the code/ui to english. Sorry!

from pgmodeler.

charafau avatar charafau commented on June 27, 2024

at least ui should be in english. I can translate ui to polish (from english) if anyone would be interested. but I dont think so ;)

from pgmodeler.

gjunming avatar gjunming commented on June 27, 2024

English is is more international,

If it is in English, I also can do the translation to Chinese.

from pgmodeler.

rkhaotix avatar rkhaotix commented on June 27, 2024

There is a file called "pgmodeler.en_US.ts" that can be opened in QtLinguist and have the phrases changed to other languages! Change the "default" language on source code will consuming a lot of time. There is more than 990 phrases to be translated!

from pgmodeler.

gjunming avatar gjunming commented on June 27, 2024

Cool yep, it really works.

from pgmodeler.

rkhaotix avatar rkhaotix commented on June 27, 2024

gjunming, I want to make some tests it will help to do future translations.

Can you generate an .ts file for your language based on the pgmodeler.en_US.ts?
I recommend you to copy the file pgmodeler.en_US.ts rename it to pgmodeler.[YOU LANGUAGE HERE].ts and translate it on QLinguist!

from pgmodeler.

rkhaotix avatar rkhaotix commented on June 27, 2024

It seems that pgModeler don't switch to English automatically on some systems/language combination. Registering this issue as a bug to be corrected on next release!

from pgmodeler.

rkhaotix avatar rkhaotix commented on June 27, 2024

Issue closed due to newer one with same subject.
#23

from pgmodeler.

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.