OS2
Hello, I compiled it for good old OS/2 All seems to work, the only culprit i see so far, is that it wont take the EN languages It keeps stating on the BR language and thats not something i understand :) i made also a debug version but that I use Qt5 v5.13.1 and Gcc v9.2.0
Owww, how nice to know that it worked on OS/2. I don't think the translations worked because I saved the files in a /usr/share/locale directory. But check the directory: /etc/xdg/terminalfinances if the translations are there!
Hi, I have the .qm files in etc/xdg/terminalfinances Also tried to copy them to /usr/share/locale/terminalfinances But also no go Any idea further?
@TeLLie Yes, let's solve this! Now tell me what the value of the variable lang is in your user's configuration file in the path: ~/.config/terminalfinances/config.ini .
@Terroo Hihi, yes please lets solve this :) I have this in config.ini
--------------------------------
Terminal Finances 1.0.0
Developed by Marcos Oliveira
https://terminalroot.com.br/
--------------------------------
lang = en theme = light currency = R$
Ah yes! It is modifying the files correctly, but it is not changing the language. Well, to make sure it's not a problem with it, I would recommend you to recompile it, but before compiling, change this file:
https://github.com/terroo/terminal-finances/blob/main/src/initial.h
And change the members m_lang and m_currency to the data that suits you, example for English with dollar:
QString m_content, m_lang = "en", m_theme = "light",
m_get_lang = qgetenv("LANG"), m_currency = "USD";
Then just recompile and check if it worked!
Hello, Im sorry to say but it still gives me "no English"
In config.ini lang = en theme = light currency = USD
Only thing that worked for me is changing from dark to light
If it's working for you, when you changes the languages?
@TeLLie Yes, for me it works normally. Other people using it have also not reported this problem. But did you make the changes that I had reported? One problem I received from a person was that the database was corrupted. Your translation file may also be corrupted.
Hi, Yes i made the changes.. I see that the database is 0bytes It seems that all the database i save are 0bytes
If you have wget installed, just do this:
wget https://git.io/terfindb -O ~/.config/terminalfinances/terminalfinances.db
chmod +rw ~/.config/terminalfinances/terminalfinances.db
If not, just download it via the browser and save to that directory with that name and assign read and write permission.
Also check the translation files, they may be corrupted. I used C++ libraries for this and Qt leaves it up to the system and some systems do not understand these paths and end up copying from the wrong memory location.
Hi I download the .db but still no go Also did a lrelease on the ts files, still no go I have no idea how this can happen. Im no debug expert and have no idea how to do this unfortunately But could you not make some debug lines where we could see why its not load the English language??
Do you have this command: lrelease ?
Yes, sure [D:\Test\terminal-finances\src\terminalfinances]lrelease -version lrelease version 5.13.1
I'm going to do some tests here to try to understand why the translation didn't work on OS/2, as soon as I have a new idea, I'll get back to you.
Hello, @TeLLie ! Sorry for the delay, but I was installing a few different operating systems and all in English. I compiled from scratch at all and the translation worked correctly. The only thing I had to see was addiction. I updated the README including some dependencies at compile time. I think the problem may be on OS/2.
Hello, I found the solution... I have to add for OS2 in initial.h this: m_en = "/etc/xdg/terminalfinances/TerminalFinances_en_US.qm", to m_en = "/@unixroot/etc/xdg/terminalfinances/TerminalFinances_en_US.qm", And now i get the English translation :) Thankz for the help :P
Hi, I translate it to Dutch if you like i can send to the .ts file..
Hi, I translate it to Dutch if you like i can send to the .ts file..
Yes, you can send it to me! I will try to add as a new language option!
Marcos Oliveira wrote:
Hi, I translate it to Dutch if you like i can send to the .ts file..Yes, you can send it to me! I will try to add as a new language option!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/terroo/terminal-finances/issues/4#issuecomment-841551835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYTRCMKXMT6A7XP2UCFNTTNWX4BANCNFSM4YKGNCAQ.
Hi I attach
-- With kind Regards from the Netherlands, Elbert & Nicole Pol
Hmmm Where to send to
@TeLLie Create a repository, add the file and put the link here
Hi
https://boomfinefood.stack.storage/s/Jrau3UijgmEmIe71
Op zo 16 mei 2021 14:19 schreef Marcos Oliveira @.***>:
@TeLLie https://github.com/TeLLie Create a repository, add the file and put the link here
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/terroo/terminal-finances/issues/4#issuecomment-841809653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYTRFCYXXAJZMDAMYAJC3TN6Z4RANCNFSM4YKGNCAQ .