zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.06k stars 219 forks source link

I want to translate some items in positions like the right-click menu and the toolbar, but it seems they are not in the language files. #1819

Open dmscode opened 3 months ago

dmscode commented 3 months ago

I want to translate some items in positions like the right-click menu and the toolbar, but it seems they are not in the language files.

Please tell me how to do it, thank you

zsviczian commented 3 months ago

I am not consistent enough with using the language file. Let me do a bit of cleanup. As for Excalidraw built-in features (i.e. the ones you find on Excalidraw.com) that language file must be edited here https://github.com/excalidraw/excalidraw

dmscode commented 3 months ago

Excalidraw has good localization, maybe the localization files can be included, although this will increase the file size. Indeed, these contents are not many, and not localizing them will not have a big impact. Thank you for your explanation.

And then

dmscode commented 4 weeks ago

The welcome screen

https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/78034f6deadebc1de397ff5b49be73c96844e901/src/ExcalidrawView.ts#L5285-L5356