TbSync icon indicating copy to clipboard operation
TbSync copied to clipboard

Missing translations

Open jobisoft opened this issue 8 years ago • 61 comments

@sinya13 @ovari @AlessandroMenti

The master branches of the following projects are ready for the next release: https://github.com/jobisoft/TbSync https://github.com/jobisoft/DAV-4-TbSync https://github.com/jobisoft/EAS-4-TbSync

If you find time, it would help all foreign users if you could help to update/add translations. Thank you very much for your support!

jobisoft avatar Nov 27 '18 12:11 jobisoft

https://github.com/sinya13/TbSync for ru translate - 100% ready https://github.com/sinya13/CategoryManager for ru translate - 90% ready

sinya13 avatar Nov 27 '18 14:11 sinya13

Could you give details about the process and rules for adding translations?

isorochan avatar Nov 27 '18 16:11 isorochan

@isorochan

You have to fork the project you want to contribute to (button in the upper right corner of github) and this will get you a copy for your own, where you can make all the changes. When you are done, you create a pull request (there is a button somewhere, I will guide you, when you need help) which sends your changes back to me, where I can accept them.

The translations are always in the "locale" folder in the root of the project. You can either contribute to an existing language or start a new one. However, I would not suggest to edit IT or HU translations without talking to @AlessandroMenti (IT) or @ovari (HU), because they are probably doing them. Furthermore I think @sinya13 is currently adding a russian translations.

To start a new translation, copy the en-US folder and rename it to the language ID you are adding.

@ovari Could you provide the link to the list of valid codes? I do not find it anymore. Could you also provide the link, with the correct quotations marks?

Then simply translate all strings in the files you find in your new language folder.

To build a version with your translation enabled, you need to add an entry to chrome.manifest in the projects root and then zip everything together and install that zip file in the AddOn manager.

Caution: To see the changes in EAS-4-TbSync you must also build the new Tbsync itself (which is not yet released)

Just ask, if you need further information.

jobisoft avatar Nov 27 '18 17:11 jobisoft

This is the list of the correct quotation marks per language: https://en.wikipedia.org/wiki/Quotation_mark#Summary_table

jobisoft avatar Nov 27 '18 17:11 jobisoft

@jobisoft Done in https://github.com/jobisoft/TbSync/pull/188, https://github.com/jobisoft/DAV-4-TbSync/pull/40, https://github.com/jobisoft/EAS-4-TbSync/pull/26.

AlessandroMenti avatar Nov 27 '18 20:11 AlessandroMenti

All Italien translations merged, thank you @AlessandroMenti

jobisoft avatar Nov 27 '18 21:11 jobisoft

install.rdf also need to be edited like chrome.manifest ?

sinya13 avatar Nov 28 '18 07:11 sinya13

Yes, but that is something I can do, but of course, feel free to add yourself. You must add a full description block for your new language and you muist add yourself to all other description blocks.

jobisoft avatar Nov 28 '18 07:11 jobisoft

@ovari Could you provide the link to the list of valid codes? I do not find it anymore.

Sorry, do not understand the context of "list of valid codes". Please email us so this issue does not get filled by this. Thank you Edit: https://github.com/jobisoft/TbSync/pull/191 Edit: Translations and localizations

Could you also provide the link, with the correct quotations marks?

Great you found and listed at https://github.com/jobisoft/TbSync/issues/186#issuecomment-442154462

ghost avatar Nov 28 '18 10:11 ghost

https://github.com/sinya13/CategoryManager for ru translate - ready for use.

sinya13 avatar Nov 28 '18 12:11 sinya13

@sinya13 You need to create a pull request, which sends your changes back to me: image

jobisoft avatar Nov 28 '18 12:11 jobisoft

Done.

sinya13 avatar Nov 28 '18 12:11 sinya13

@isorochan Можете скопировать русский перевод в папке ../locale/ru/ в папку например ../locale/ua/ или ../locale/ua-UA/ или ../locale/pl/ или ../locale/pl-PL/ в зависимости как в приложении уже начато делаться. Затем во всех строчках меняете русский перевод на державну мову или речь посполиту. Так довольно просто понять что надо менять. По крайней мере проще чем с английской секции править. Затем надо в корне каждого проекта исправит два файла chrome.manifest и install.rdf как это для секций ru там, добавив наалогичную секцию для ua или pl.

sinya13 avatar Nov 30 '18 09:11 sinya13

Could you repost that in english?

jobisoft avatar Nov 30 '18 10:11 jobisoft

../locale/ru/ в папку например ../locale/ua/ или ../locale/ua-UA/ или ../locale/pl/ или ../locale/pl-PL/

@sinya @isorochan not sure what ua or ua-UA was meant to be; however, folders should be uk and pl for Ukrainian and Polish, respectively. see Translations and localizations → Transvision

ghost avatar Nov 30 '18 10:11 ghost

You can copy the russian translation in the folder ../locale/ru/ to a folder such as ../locale/ua/ or ../locale/ua-UA/ or ../locale/pl/ or ../locale/pl-PL / depending on how the application has already begun. Then, in all the lines, change the russian translation to a state or language for ua or pl. So pretty easy to understand what needs to be changed. At least easier than the english section to edit. Then you need to fix two chrome.manifest and install.rdf files in the root of each project like this for the ru sections there, adding a analogical section for ua or pl.

sinya13 avatar Nov 30 '18 10:11 sinya13

@ovari Yes,probably. Although uk=United Kingdom regular

sinya13 avatar Nov 30 '18 10:11 sinya13

@sinya13 en-GB

ghost avatar Nov 30 '18 11:11 ghost

@sinya13 @ovari @AlessandroMenti @isorochan

Thanks for all your work. The new UI is almost ready. I am currently adding a server profile selection (when creating accounts, the user can pick from pre-defined servers without having to enter any URL) and I needed to updated a few things to comply with Thunderbird rules. The current locale files include these changes already.

It is not much, could you take a look at:

https://github.com/jobisoft/TbSync https://github.com/jobisoft/DAV-4-TbSync https://github.com/jobisoft/EAS-4-TbSync

and update any translation embraced by "??" like

<!ENTITY add.serverprofile "?? Select a server profile: ??">

@ovari Do you plan to translate the DAV provider as well? The UX would improve a lot, because DAV users would have a translated TbSync manager, but the DAV settings window would not be translated...

As soon as I have these final translations, I will release beta versions for you to try out. This is how the new UI will look like:

image

image

image

image

jobisoft avatar Dec 05 '18 10:12 jobisoft

I just released betas for you to try out. See your translations in action!

https://tbsync.jobisoft.de/beta/TbSync.xpi https://tbsync.jobisoft.de/beta/DAV-4-TbSync.xpi https://tbsync.jobisoft.de/beta/EAS-4-TbSync.xpi

I will send this to Thunderbird review in 2-3 days.

jobisoft avatar Dec 09 '18 23:12 jobisoft