Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Chinese Translation #75

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rsesot
Copy link

@rsesot rsesot commented Jul 28, 2024

“This is the part about translating Chinese (Simplified Chinese and Traditional Chinese). I apologize for not being able to submit CJK support together, as I found that any modification to the imagefs.txz file would cause the Winlator installation to fail at 85% when initializing the system files.

I tested moving the file into the compressed package without unpacking it (which definitely caused the installation to fail), and then deleting each file I moved in, but the installation still failed. I unpacked it as a tar package, repacked it as a txz without any modifications, and the installation still failed. I tracked Winlator's logcat but found no meaningful information.”

@longjunyu2
Copy link
Contributor

longjunyu2 commented Jul 28, 2024

Here are my steps about unpacking and packing imagefs.txz. (Maybe helpful)

  1. Create a new folder and copy original imagefs.txz into it.
  2. tar xvf imagefs.txz to unpack. And remove it rm imagefs.txz.
  3. Do any modification.
  4. tar cvf ../imagefs.tar . to get tar pack.
  5. cd .. and then xz -9 imagefs.tar. You will get imagefs.tar.xz, rename it to imagefs.txz

@rsesot
Copy link
Author

rsesot commented Jul 28, 2024

截图 2024-07-28 17-02-24
logcat.log

I have unpacked and repacked the files according to your instructions, and I have not modified any files. The problem persists.

@longjunyu2
Copy link
Contributor

add e.printStackTrace(); behind line 170 in com/winlator/core/TarCompressorUtils.java

@rsesot
Copy link
Author

rsesot commented Jul 28, 2024

I figured out the problem. It was my computer bad. xz was exiting quickly in the terminal, but the compression was actually still running in the background, causing my compressed files to be incomplete. I wanted to modify the regional language using environment variables, but I found that entering anything other than C.UTF-8 or en_US.UTF-8 would cause a 'starting up...' pop-up that never closed. However, when I looked behind the pop-up, I saw that 'start' had changed to Japanese, and wfm had automatically opened.
截图 2024-07-28 20-47-42

@longjunyu2
Copy link
Contributor

longjunyu2 commented Jul 28, 2024

It seems that there are missing zh_CN.UTF-8 in locale imagefs/usr/share/X11/locale. And that makes winlator cannot get X Window's name. One solution is to copy these files from other computers.

@benknam
Copy link

benknam commented Aug 2, 2024

It seems that there are missing zh_CN.UTF-8 in locale imagefs/usr/share/X11/locale. And that makes winlator cannot get X Window's name. One solution is to copy these files from other computers.

Good day bro.

Tested with another Asia language: Chinese\Japanese\Korean,
Tested copying locale files from other host with full-installed Ubuntu with Wine,
Tested with Shortcut to start a Explorer++ with Chinese translation, without wfm,
all these workaround not working as the same as it was.

It seems that showing the container was started successfully,
but the "Stating up" panel still cover the foreground layer,
I think the starting progress didn't tell the wineserver that it's done,
so we can't slide out the control panel, too.

Looking forward and still looking for a solution.

@longjunyu2
Copy link
Contributor

It seems that there are missing zh_CN.UTF-8 in locale imagefs/usr/share/X11/locale. And that makes winlator cannot get X Window's name. One solution is to copy these files from other computers.

Good day bro.

Tested with another Asia language: Chinese\Japanese\Korean, Tested copying locale files from other host with full-installed Ubuntu with Wine, Tested with Shortcut to start a Explorer++ with Chinese translation, without wfm, all these workaround not working as the same as it was.

It seems that showing the container was started successfully, but the "Stating up" panel still cover the foreground layer, I think the starting progress didn't tell the wineserver that it's done, so we can't slide out the control panel, too.

Looking forward and still looking for a solution.

Check imagefs/usr/lib/locale too.

@benknam
Copy link

benknam commented Aug 5, 2024

It seems that there are missing zh_CN.UTF-8 in locale imagefs/usr/share/X11/locale. And that makes winlator cannot get X Window's name. One solution is to copy these files from other computers.

Good day bro.
Tested with another Asia language: Chinese\Japanese\Korean, Tested copying locale files from other host with full-installed Ubuntu with Wine, Tested with Shortcut to start a Explorer++ with Chinese translation, without wfm, all these workaround not working as the same as it was.
It seems that showing the container was started successfully, but the "Stating up" panel still cover the foreground layer, I think the starting progress didn't tell the wineserver that it's done, so we can't slide out the control panel, too.
Looking forward and still looking for a solution.

Check imagefs/usr/lib/locale too.

Placed the required file but it's still not working.
1

@longjunyu2
Copy link
Contributor

@benknam I just copy X11/locale and lib/locale from my ubuntu, then the problem solved. I don't know why it is not work for you :(.
You can still try to modify line 209 in app/src/main/java/com/winlator/XServerDisplayActivity.java to disabled the wait.

@benknam
Copy link

benknam commented Aug 7, 2024

@benknam I just copy X11/locale and lib/locale from my ubuntu, then the problem solved. I don't know why it is not work for you :(. You can still try to modify line 209 in app/src/main/java/com/winlator/XServerDisplayActivity.java to disabled the wait.

Confirmed working!

Sorry for that I did a stupid thing copying locale files from 24.04LTS 😂...

So I made a clean 20.04 Focal Fossa live environment,
zip files to the phone and unzip,
it works perfectly.

photo_2024-08-07_22-43-42

Here's zip package for everyone wanna to try,
it should be working for global language.
locale.zip

@rsesot
Copy link
Author

rsesot commented Aug 9, 2024

I recently upgraded my device from a Meizu 18X to a Meizu 21 Note, and from Android 13 to Android 14. I noticed that I can now install Winlator, but when I try to start the X environment, it crashes most of the time, regardless of any changes I make. Occasionally, it does manage to start, but when I open the task manager, I find that all services are missing, even though my container settings are configured to load all services. Additionally, any wine software I try to open the crashes.

@longjunyu2
Copy link
Contributor

@rsesot any logs?

@rsesot
Copy link
Author

rsesot commented Aug 15, 2024

@rsesot 有日志吗?

oh,sorry,there is log
E.log

@trixiobixio
Copy link

Excuse the stupid question but as I have all the emulator GUI in Chinese (at least I think) how do I change language ?

@superjovie
Copy link

can the winlator app can touch the android USB serial? how can i do that?

@OolongMC
Copy link

OolongMC commented Sep 7, 2024

It sounds like you are discussing the Chinese translation of the program.There are many Chinese translation versions of Winlator simulators on the Internet in China.I don't know how they are realized.Maybe it can be used as a reference.
tar.gz app
(repackaged for apk use)
I just downloaded the latest version of Winlator. The pure English interface is very uncomfortable.

@OolongMC
Copy link

OolongMC commented Sep 7, 2024

It seems that the image I created with the Chinese version of Winlator can't run on the current Winlator 7.1.Has been in the' starting up' step.Should I back up those files on drive C to ensure that the environment settings and shortcuts will not disappear?(I can visit Winlator's /data/data directory.)

@benknam
Copy link

benknam commented Sep 9, 2024

It seems that the image I created with the Chinese version of Winlator can't run on the current Winlator 7.1.Has been in the' starting up' step.Should I back up those files on drive C to ensure that the environment settings and shortcuts will not disappear?(I can visit Winlator's /data/data directory.)

I checked the community from Tieba-baidu and TG group\channel, they did perfect Chinese translation based on 7.1 and fixed some problems while with Chinese translation, also compatible patched for devices from Huawei and Xiaomi, but as I know the package/image was changed too many values that original Winlator needs so.

@Mahdi-Akhlaghi
Copy link

Hi it's a Great app !
But I can't run Metatrader 5 or 4 on it it's installing normally but when I run it it's open in task manager but not showing anything, I tried Metatrader older builds from 2020 it's working normally but sever says you should update it .
It's a very useful app with wide range usage if the Winlator could run it , it's a Big win !
I can post log file here if it's help

@zfiles
Copy link

zfiles commented Sep 12, 2024

Please support the Winulator application on any devices. It doesn't work on all my devices.

@OolongMC
Copy link

I looked for it for a long time. I don't know how to submit the Issues.So I'm asking questions here.
Problem description: Java installation error 1627.
Text: I don't know if this is because of wine or my mobile phone.That's why I upgraded Winlator to 7.1 instead of using 6.1 or ExaGear.
Java installer: jre-8u421-windows-i586.exe(x86_64)
Let me decide to install Java.The main reason is that I need to use FFmpeg.
Screenshot_20240907_180318_com winlator

@benknam
Copy link

benknam commented Sep 22, 2024

I looked for it for a long time. I don't know how to submit the Issues.So I'm asking questions here. Problem description: Java installation error 1627. Text: I don't know if this is because of wine or my mobile phone.That's why I upgraded Winlator to 7.1 instead of using 6.1 or ExaGear. Java installer: jre-8u421-windows-i586.exe(x86_64) Let me decide to install Java.The main reason is that I need to use FFmpeg. Screenshot_20240907_180318_com winlator

I think you could try OpenJDK_23, but you should target the PATH to the binary folder.

@OolongMC
Copy link

I looked for it for a long time. I don't know how to submit the Issues.So I'm asking questions here. Problem description: Java installation error 1627. Text: I don't know if this is because of wine or my mobile phone.That's why I upgraded Winlator to 7.1 instead of using 6.1 or ExaGear. Java installer: jre-8u421-windows-i586.exe(x86_64) Let me decide to install Java.The main reason is that I need to use FFmpeg. Screenshot_20240907_180318_com winlator

I think you could try OpenJDK_23, but you should target the PATH to the binary folder.

Good idea.But Minecraft v1.12 can only run in Java6-Java16.

@DpHp777
Copy link

DpHp777 commented Sep 30, 2024

Hi, I don't know where else to do this so... I have an idea for the emulator, and is the possibility of assigning two key to the same button on the controller, for example in the original COD MW trilogy, not being compatible with controller, it is uncomfortable that the “use” button and the “reload” button are two different keys because normally in the new games these two actions are done with the same button no the controller (X or []).
I use Google translator to write this, tell me if something is not understood.

@Purebot120
Copy link

Umm I know this isn't the right place to ask this but will adreno 710 be able to run games above directx9? I just bout my tab redmi pad pro it got snapdragon 7s gen2 I want to try dbz kakarot on it but I am not able to run it always shows me this.

'DX11 feature level 10.0 required to run the engine '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants