zuoez02 / siyuan-plugin-whiteboard

MIT License
13 stars 2 forks source link

Translations #14

Closed adocampo closed 9 months ago

adocampo commented 9 months ago

Hello,

I'm using Siyuan since a few days, I'm very impressed, but I just miss a hand writting note feature, so tldraw integration is exactly what I was looking for, I love it! Awesome work!

There are a lot of chinese labels, though, and yet many of them are deductible by context, it would be nice to have it in other languages. I can offer to translate them into spanish if there is any label in english, or I could even use some online translator to translate from chinese to english, but as far as I saw, labels are hardcoded into the source, not in the i18n directory.

Is there any plan to translate the plugin?

Thank you very much for your work!!

zuoez02 commented 9 months ago

Support in next version

adocampo commented 9 months ago

perfect! let me know here if you need some help translating into spanish (I speak natively catalan as well, but siyuan isn't in catalan, so I think your plugin doesn't need to be translated into catalan either)

zuoez02 commented 9 months ago

Tldraw has already have translation, you can choose language at bottom right corner button. image

I will translate other function text in English, then you can translate it to your languange which must supported by Siyuan. image

adocampo commented 9 months ago

yes, perhaps I didn't explain myself properly, I wasn't speaking about tldraw, but tldraw plugin for siyuan. Which is in Chinese is not tldraw interface, but the siyuan modal forms, tooltips, etc, of this plugin image image image image image

zuoez02 commented 9 months ago

Yeah, I know what you are talking about :)

zuoez02 commented 9 months ago

I have add en_US support in v0.1.8, and I tried to translate it in es_ES with GPT. You can create PR if the translation is mistake :). The file is in README_es_ES.md and src/i18n/es_ES.json

adocampo commented 8 months ago

Hi there! The translation both in english and spanish are quite good, so far. The only thin I should change should be this tooltip image

It should be "Minimize" in english and "Minimizar" in spanish.

zuoez02 commented 8 months ago

Hi there! The translation both in english and spanish are quite good, so far. The only thin I should change should be this tooltip image

It should be "Minimize" in english and "Minimizar" in spanish.

Fixed in v0.1.10

adocampo commented 8 months ago

I've found another text in chinese. This time inside the tldraw board, so I'm not sure this is related to this plugin. If I copy a block of a normal note, and paste it on the whiteboard, it shows this image

If I click on that button with the chinese text, it opens the document, so by deduction, it must say something like "open link"