Translation files for QtPlasmaC

More
2 years 8 months ago - 2 years 8 months ago #293795 by Franklin
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.

More
2 years 8 months ago #293805 by phillc54
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.

More
2 years 8 months ago - 2 years 8 months ago #293808 by Franklin
I tried renaming it to qtplasmac_uk and nothing changed.
language file: 

File Attachment:

File Name: qtplasmac_ua.txt
File Size:155.6 KB
Last edit: 2 years 8 months ago by Franklin.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago - 2 years 8 months ago #293812 by phillc54
The file end needs to be the first two letters from locale, so in your case it would be qtplasmac_uk.ts
Warning: Spoiler!


Edit: did you create the .qm file
 
Last edit: 2 years 8 months ago by phillc54.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #293828 by Franklin
Yes indeed the .qm file was missing, now it works. Thanks Phill for the help.
Later I will try to do this in the package installation.
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #293829 by phillc54
Great, glad it is working. 
When you finish the translations you may want to consider creating a pull request so we can add them to master branch. 

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.117 seconds
Powered by Kunena Forum