- Posts: 47
- Thank you received: 19
Translation files for QtPlasmaC
- Franklin
- Topic Author
- Offline
- Senior Member
-
Less
More
2 years 8 months ago #293656
by Franklin
Translation files for QtPlasmaC was created by Franklin
Hi everyone who tried to create a translation file? I did everything according to the instructions and it doesn't work. I have this error "bash: langfile: command not found"
What am I doing wrong?
What am I doing wrong?
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5713
- Thank you received: 2100
2 years 8 months ago - 2 years 8 months ago #293677
by phillc54
Replied by phillc54 on topic Translation files for QtPlasmaC
Is there a script named langfile in your current directory and is it executable?
Are you running a package installation or a run in place installation?
Are you running a package installation or a run in place installation?
Last edit: 2 years 8 months ago by phillc54.
Please Log in or Create an account to join the conversation.
- Franklin
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 19
2 years 8 months ago #293680
by Franklin
Replied by Franklin on topic Translation files for QtPlasmaC
Yes the langfile is present in the directory but I can't execute it. I use run in place installation and run command "langfile ua" from directory cd ~/linuxcnc-dev/share/qtvcp/screens/qtplasmac/languages
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5713
- Thank you received: 2100
2 years 8 months ago #293737
by phillc54
Replied by phillc54 on topic Translation files for QtPlasmaC
Try adding ./ in front of langfile, like:
Code:
./langfile xx
Please Log in or Create an account to join the conversation.
- Franklin
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 19
2 years 8 months ago #293749
by Franklin
Replied by Franklin on topic Translation files for QtPlasmaC
It worked, thanks.
Is it possible to do this in the package installation (Buildbot)?
Is it possible to do this in the package installation (Buildbot)?
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5713
- Thank you received: 2100
2 years 8 months ago #293750
by phillc54
Replied by phillc54 on topic Translation files for QtPlasmaC
To be honest I have not tried. The directory would be in a system directory so you would need elevated privileges like sudo.
Please Log in or Create an account to join the conversation.
- Franklin
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 19
2 years 8 months ago - 2 years 8 months ago #293795
by Franklin
Replied by Franklin on topic Translation files for QtPlasmaC
I tried to translate the interface but qtplasmac doesn't see my langfile. This is probably a problem with my system locale?
Code:
# locale
LANG=uk_UA.UTF-8
Last edit: 2 years 8 months ago by Franklin.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5713
- Thank you received: 2100
2 years 8 months ago #293805
by phillc54
Replied by phillc54 on topic Translation files for QtPlasmaC
Can you post the language file, I will make a new virtual machine for testing. You may need to add .txt to end so the forum accepts it.
Please Log in or Create an account to join the conversation.
- Franklin
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 19
2 years 8 months ago - 2 years 8 months ago #293808
by Franklin
Replied by Franklin on topic Translation files for QtPlasmaC
I tried renaming it to qtplasmac_uk and nothing changed.
language file:
language file:
Last edit: 2 years 8 months ago by Franklin.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5713
- Thank you received: 2100
2 years 8 months ago - 2 years 8 months ago #293812
by phillc54
Replied by phillc54 on topic Translation files for QtPlasmaC
Last edit: 2 years 8 months ago by phillc54.
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.280 seconds