Comments (35)
Can you try to recreate the same issue using the latest release?
from qv2ray.
Can you try to recreate the same issue using the latest release?
The new version is exactly the same.
from qv2ray.
So let's say you are trying to build from the source right?
from qv2ray.
If you build it from the source, you should not rename the .ts
files in the translations
folder to .qm
but run lrelease ./Qv2ray.pro
to let Qt generate the .qm
-named the binary version of "translation files".
Then try to build again.
The docs are here. Unfortunately, it's written in Chinese, but the English version will come soon.
from qv2ray.
If you build it from the source, you should not rename the
.ts
files in thetranslations
folder to.qm
but runlrelease ./Qv2ray.pro
to let Qt generate the.qm
-named the binary version of "translation files".Then try to build again.
The docs are here. Unfortunately, it's written in Chinese, but the English version will come soon.
Yes, I know that I forgot command lrelease ./Qv2ray.pro
last time.
The new version also gives an error. PIC
from qv2ray.
Please add the field "Name" PIC
from qv2ray.
Please add the field "Name" PIC
Sure, This will be available in a later version.
from qv2ray.
Yes, I know that I forgot command
lrelease ./Qv2ray.pro
last time.
The new version also gives an error. PIC
I cannot figure out what's going wrong here... We only support Chinese and English currently.
It's more likely caused by a missing of Chinese Fonts(maybe?),
However...
I'd prefer to say that's a Qt Bug....
I'll try my best to find the cause of your issue at the moment
from qv2ray.
Yes, I know that I forgot command
lrelease ./Qv2ray.pro
last time.
The new version also gives an error. PICI cannot figure out what's going wrong here... We only support Chinese and English currently.
It's more likely caused by a missing of Chinese Fonts(maybe?),However...
I'd prefer to say that's a Qt Bug....
I'll try my best to find the cause of your issue at the moment
I can give access to the teamviewer if you need to.
from qv2ray.
Well, before that, can you try this patch please?
This patch changed the "just-in-time retranslation" function to another trigger.
from qv2ray.
Well, before that, can you try this patch please?
This patch changed the "just-in-time retranslation" function to another trigger.
I need instruction to patch1.txt
from qv2ray.
Well it's not very difficult, download the patch file and then simply run
git apply patch1.txt
in the Qv2ray project directory
in this case, I put the patch1.txt at the root of my project folder
from qv2ray.
sony@sony-desktop:~$ cd test/1/Qv2ray/
sony@sony-desktop:~/test/1/Qv2ray$ git apply patch1.txt
sony@sony-desktop:~/test/1/Qv2ray$ cd build/
sony@sony-desktop:~/test/1/Qv2ray/build$ ./Qv2ray
To no avail.
I tried the same make application. Doesn't work either.
from qv2ray.
Emmm after applying the patch, you need to rebuild the executable using make
again.
from qv2ray.
Emmm after applying the patch, you need to rebuild the executable using
make
again.
That's exactly what I did
from qv2ray.
Emmm after applying the patch, you need to rebuild the executable using
make
again.That's exactly what I did
It seems to be unbelievably strange....
Which distro are you currently using, or can you try installing a Chinese Font? (Although I don't think that helps....)
- Can you confirm that the latest AppImage has the same behavior?
from qv2ray.
Another trail is to change the config file directly located at $HOME/.qv2ray/Qv2ray.conf
You may want to:
- Close Qv2ray
- Change the
"language": "zh-CN",
to"language": "en-US",
- Start Qv2ray again and see if the English Translation loads correctly.
Updated: This helps me see if the issue is caused by the translation itself or the UI behavior
from qv2ray.
I think I have a Chinese font. I can’t switch from Chinese to English. BUT! If I rename the files en-US.ts <-> zh-CN.ts before installation and make the application, then it works in English.
from qv2ray.
Another trail is to change the config file directly located at
$HOME/.qv2ray/Qv2ray.conf
You may want to:
- Close Qv2ray
- Change the
"language": "zh-CN",
to"language": "en-US",
- Start Qv2ray again and see if the English Translation loads correctly.
Updated: This helps me see if the issue is caused by the translation itself or the UI behavior
The application started in English and works. But if you open the settings, then it freezes.
from qv2ray.
I think I have a Chinese font. I can’t switch from Chinese to English. BUT! If I rename the files en-US.ts <-> zh-CN.ts before installation and make the application, then it works in English.
Emmm at least that tells us the cause is not from a language translation file......
One possible solution is disabling the "just-in-time retranslation" feature currently....
from qv2ray.
I'll push a commit and see if that works for you soon.
NOTE: You may need to restart the application after changing the language from now on. (As a temporary solution for this strange bug)
from qv2ray.
You may want to checkout the latest commit on the dev
branch
using:
git reset master --hard
<- to discard whatever you did in the current working directory
git pull
<- pull out the latest update
git checkout dev
<- and change to the dev branch.
run qmake and make to see if it's solved.
from qv2ray.
You may want to checkout the latest commit on the
dev
branch
using:
git reset master --hard
<- to discard whatever you did in the current working directory
git pull
<- pull out the latest update
git checkout dev
<- and change to the dev branch.
run qmake and make to see if it's solved.
It works! There is not any errors.
from qv2ray.
OK, then this issue will be marked as solved and closed.
from qv2ray.
For future refrence:
The problem was introduced by #20 , which firstly asked for the "just-in-time re-translation".
Due to the bugfix, this feature has been disabled.
from qv2ray.
Hello sir Seems that you speak Russian
Could you contribute to translate the project in Crowdin Service here?
https://crowdin.com/project/qv2ray
It will be very helpful.
from qv2ray.
Hello sir Seems that you speak Russian
Could you contribute to translate the project in Crowdin Service here?
https://crowdin.com/project/qv2ray
It will be very helpful.
Im done
from qv2ray.
Thanks, and can you please provide your name that I can mention the contributors?
is thebadgateway
ok for that ?
from qv2ray.
Thanks, and can you please provide your name that I can mention the contributors?
isthebadgateway
ok for that ?
Yes of course. The only thing you need will be to test the translation app. Some words can be long and me can pick up similar ones in meaning, but with a shorter length. And without a app, some words have two meanings. Only after testing can I give an accurate translation.
from qv2ray.
Thanks really a lot for your contributions!
However, I didn't understand what you mean, do you want to have a translated Qv2ray application for testing?
from qv2ray.
I meant that I would need to see the translated application. And then I can correct some words because they can have two meanings. In general, nothing serious, I will write a issure if I see a mistake in my translation.
from qv2ray.
There are two possible methods to get your translations.
Option 1
One is you can download the *.ts file in the Crowdin Platform
You can download the translations here:
- For this, you may need to clone the Repo and manually replace the .ts file in the
translations
folder. - And then, build the Qv2ray.
- It's fast, you can do whenever you want, but it's really quite complicated.
Option 2
- There's another option, you can wait for the Crowdin Service writing a Pull Request HERE
- The Automatic Build System will trigger a build containing your translations into an AppImage. Which you can download it and test.
Clicking 'details' leads you to the status page:
The binary can be obtained here
The issues that the build system has, is: we currently cannot generate AppImage because it's not properly configured yet
Actually I, personally prefer to build myself, as even me myself can't estimate the time it takes for the Crowdin to sync translations into the Github PR
<I'll write a proper doc for this soon>
from qv2ray.
Ah, I nearly forgot that You can try to use Qt Linguist to open that TS file and do some translations!
You may need to put the ts files in its proper place to see the UI preview
It's soooooo useful to test some UI translations, once you have done it, click save and upload the ts file to the Crowdin
The upload button is located where you download the ts files, select these checkboxes to make sure nothing is lost.
from qv2ray.
The new version does not work and dev too
`:~/test/2/Qv2ray/build$ ./Qv2ray
[LICENCE]:
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions.
Qv2ray Current Developer Copyright (C) 2019 Leroy.H.Y (@lhy0403)
Hv2ray Initial Idea and Designs Copyright (C) 2019 Hork (@aliyuchang33)
Hv2ray/Qv2ray HTTP Request Helper (partial) Copyright 2019 (C) SOneWinstone (@SoneWinstone)
Qv2ray ArtWork Done By ArielAxionL (@axionl)
Qv2ray v2.0 running on Ubuntu 18.04.3 LTS x86_64
[UI]: FAILED to find any translations, THIS IS A BUILD ERROR.
QWidget: Must construct a QApplication before a QWidget`
from qv2ray.
can you please open another issue and we can discuss there ?
from qv2ray.
Related Issues (20)
- 能否支持一下 新协议vless reality HOT 11
- Bug Report:
- Bug Report: HOT 3
- 除了降级v2ray到5.1,还有别的办法吗? HOT 1
- Bug Report:
- Bug Report:
- 编译失败 HOT 4
- Bug Report: Error while loading shared libraries: libgrpc++.so.1.53 HOT 1
- how can I run it as an application in my mac HOT 1
- Bug Report: ADD TAP ADAPTER SUPPORT PLEASE HOT 2
- Application on Window dont go through proxy
- Bug Report: 新电脑w11,旧电脑w10使用正常,把旧电脑的包弄到新电脑来就显示核心意外终止,让看核心日志,不知道怎么弄 HOT 8
- 是否支持ios客户端
- 想自己开发编译有什么指南么? HOT 9
- Bug Report: /usr/bin/gsettings: /tmp/.mount_Qv2rayCQfIcM/usr/lib/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
- Exec format error: Unable to run appimage files on ubutu 16.04 and lubuntu 18Bug Report: HOT 1
- Bug Report: QvPlugin-SSR插件导致崩溃
- Bug Report: qv2ray用lto编译崩溃
- @RichardPeng0624 杀一下残留进程即可:怎么杀呀 HOT 1
- Bug Report: open telegram but no ping in terminal for api.telegram.com 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 qv2ray.