Clip manager: An NVDA add-on for accessing clipboard history
Back to Computers and Technology#21 Jonathan Archived
You know, I like this thing more and more. Nice job.
#22 Jonathan Archived
How would you go about translating an add on? Bored enough so might do it for german.
-- (diamondStar):
Thank you very much for trying it.
If you also have any suggestions or translations: You're welcome.
-- (Fcnjd):
I'd recommend going for NVDA+shift+v (that's what I set on my side). Cool addon anyway, very helpful.
--
--
#23 cyrmax
You will need a poedit program, a git for windows and github account for contributing.
If you want, you can pm me and I'll help you.
Or we can call each other and do things in voice.
-- (Jonathan):
How would you go about translating an add on? Bored enough so might do it for german.
-- (diamondStar):
Thank you very much for trying it.
If you also have any suggestions or translations: You're welcome.
-- (Fcnjd):
I'd recommend going for NVDA+shift+v (that's what I set on my side). Cool addon anyway, very helpful.
--
--
--
#24 Jonathan Archived
I mean, I have git and co, what is a poedit program? I was rather wondering what/how you actually translate, like which files you have to modify etc? Like, how does the translation system work? But yes feel free to send me a pm!
#25 cyrmax
Russian translation is done :D
https://github.com/diamondStar35/clipManager/pull/4
#26 cyrmax
In the locale folder you have a bunch of language code folders. Every of them contains an lc messages folder with nvda.po file in it.
You either take any of translations as a source or generate translation template from source files.
Then you create a folder for your translation, for example folder named "de", there you put an lc messages folder and there sits an nvda.po file.
Then you translate the file with poedit, modify properties so that your name as a translator and language properties are correct. Then you save, compile the po file to mo format, test it with your nvda by putting the folder into a directory structure where your add-ons are stored inside nvda.
If you are satisfied, then you commit, push and do a pull request.
-- (Jonathan):
I mean, I have git and co, what is a poedit program? I was rather wondering what/how you actually translate, like which files you have to modify etc? Like, how does the translation system work? But yes feel free to send me a pm!
--
#27 diamondStar
Yeah, I've successfully merged your pr, And thank you much again for your contribution.
Also note that if you need to translate the name and description to russian: You need to create a manifest.ini file in the russian folder, But this is optional.
-- (cyrmax):
Russian translation is done :D
https://github.com/diamondStar35/clipManager/pull/4
--
#28 cyrmax
I think description should be translated as well, so will do it a bit later.
Regarding add-on name, I think it shouldn't be translated as we never do this for Russian localization.
-- (diamondStar):
Yeah, I've successfully merged your pr, And thank you much again for your contribution.
Also note that if you need to translate the name and description to russian: You need to create a manifest.ini file in the russian folder, But this is optional.
-- (cyrmax):
Russian translation is done :D
https://github.com/diamondStar35/clipManager/pull/4
--
--
#29 diamondStar
It's totally ok. In arabic for example: Some people translate the add-on name, so i thought this is also recommended for other languages.
Also since you can't directly push manifest.ini files because they are ignored: I don't know if you'll need to manually upload the file or not.
-- (cyrmax):
I think description should be translated as well, so will do it a bit later.
Regarding add-on name, I think it shouldn't be translated as we never do this for Russian localization.
-- (diamondStar):
Yeah, I've successfully merged your pr, And thank you much again for your contribution.
Also note that if you need to translate the name and description to russian: You need to create a manifest.ini file in the russian folder, But this is optional.
-- (cyrmax):
Russian translation is done :D
https://github.com/diamondStar35/clipManager/pull/4
--
--
--
#30 Jonathan Archived
Perfect thank you! Very interesting and good to know.
-- (cyrmax):
In the locale folder you have a bunch of language code folders. Every of them contains an lc messages folder with nvda.po file in it.
You either take any of translations as a source or generate translation template from source files.
Then you create a folder for your translation, for example folder named "de", there you put an lc messages folder and there sits an nvda.po file.
Then you translate the file with poedit, modify properties so that your name as a translator and language properties are correct. Then you save, compile the po file to mo format, test it with your nvda by putting the folder into a directory structure where your add-ons are stored inside nvda.
If you are satisfied, then you commit, push and do a pull request.
-- (Jonathan):
I mean, I have git and co, what is a poedit program? I was rather wondering what/how you actually translate, like which files you have to modify etc? Like, how does the translation system work? But yes feel free to send me a pm!
--
--
#31 cyrmax
Feel free to ask me in PM if you have more questions.
I've wrote this short instruction in a hurry and so could miss something.
-- (Jonathan):
Perfect thank you! Very interesting and good to know.
-- (cyrmax):
In the locale folder you have a bunch of language code folders. Every of them contains an lc messages folder with nvda.po file in it.
You either take any of translations as a source or generate translation template from source files.
Then you create a folder for your translation, for example folder named "de", there you put an lc messages folder and there sits an nvda.po file.
Then you translate the file with poedit, modify properties so that your name as a translator and language properties are correct. Then you save, compile the po file to mo format, test it with your nvda by putting the folder into a directory structure where your add-ons are stored inside nvda.
If you are satisfied, then you commit, push and do a pull request.
-- (Jonathan):
I mean, I have git and co, what is a poedit program? I was rather wondering what/how you actually translate, like which files you have to modify etc? Like, how does the translation system work? But yes feel free to send me a pm!
--
--
--
#32 ArcticMoon
I might translate the addon into hungarian, I think it would be useful for a lot of people :) so when I'll be done with the task I'm doing at the moment, I'm going to contribute my work.
"As I watch this generation try to rewrite history, one thing I'm sure of is that it will be misspelled and have no punctuation."
#33 Jonathan Archived
I begin to love the add on, but I wonder, how does pinning work?
I select it from the context menu, reopen the history but it's still at the same position.
#34 diamondStar
Pinning the item does not mean it will be moved to the first position, But rather it means when you clear the clipboard history: It would not be deleted. All pinned items are not deleted when you clear all items.
Though I'm thinking of adding an option in the settings that will allow you to display pinned items at the top.
Thanks for that.
-- (Jonathan):
I begin to love the add on, but I wonder, how does pinning work?
I select it from the context menu, reopen the history but it's still at the same position.
--
#35 Jonathan Archived
Ah I see, yeah that is a cool idea!
-- (diamondStar):
Pinning the item does not mean it will be moved to the first position, But rather it means when you clear the clipboard history: It would not be deleted. All pinned items are not deleted when you clear all items.
Though I'm thinking of adding an option in the settings that will allow you to display pinned items at the top.
Thanks for that.
-- (Jonathan):
I begin to love the add on, but I wonder, how does pinning work?
I select it from the context menu, reopen the history but it's still at the same position.
--
--