KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
896 stars 77 forks source link

Can you provide an i18n file #492

Open dufu-byte opened 3 months ago

dufu-byte commented 3 months ago

So I can provide some Chinese up...

KosmosisDire commented 3 months ago

Hi, I would like to eventually add localizations to the plugin, but for now it is unfortunately not a big priority. I want to focus first on making the plugin work reliably and be feature complete before adding localization. However, I am happy to accept PRs on this.

dufu-byte commented 2 months ago

Okay, how about this? image I added two new files here. image Import here image passHTMLExportPlugin.getLanguage(); To use

dufu-byte commented 2 months ago

image Is it OK to do so? If so, I will improve and submit this PR

dufu-byte commented 2 months ago

image If you use it this way, the subsequent internationalization file only needs to create JSON,

KosmosisDire commented 2 months ago

This is looking good if you continue to improve this id be happy to accept a PR :)

Make sure you do any dev work in the 1.9.0 branch

dufu-byte commented 2 months ago

OK