MathlibExplorer icon indicating copy to clipboard operation
MathlibExplorer copied to clipboard

Multi-language Support

Open paulcx opened this issue 1 year ago • 10 comments

Great project.

I'd like to extend this project to other languages. Can you give me some advice on how to start?

paulcx avatar Jun 11 '24 09:06 paulcx

What kind of multilingual support are you interested in? The nodes' names are mathlib source filenames, it is impossible to replace them in current version.

Crispher avatar Jun 12 '24 04:06 Crispher

What kind of multilingual support are you interested in? The nodes' names are mathlib source filenames, it is impossible to replace them in current version.

Can file names be placed in config files for translation or other methods?

paulcx avatar Jun 12 '24 05:06 paulcx

It can be done, but overall I don't think translating filenames make much sense. For 1) some names are results of programming convention, which bear no mathematical meaning; 2) filenames are pointers, once translated it will be difficult for those who are interested in reading the actual code to locate the file; 3) mathlib changes file structure often, it is hard to keep translation up to date.

Crispher avatar Jun 14 '24 04:06 Crispher

ok, I have an initial proposal to expand MathlibExplorer, and I'm wondering if I could get your contact information?

paulcx avatar Jun 14 '24 08:06 paulcx

Email me at crispherg at gmail dot com.

Crispher avatar Jun 14 '24 15:06 Crispher

I translated the mathlib pacakge name to Chinese.

mathlib_zh.json import_graph.txt

paulcx avatar Jun 24 '24 04:06 paulcx

Wow, thanks for the effort! I will try to incorporate the translation into the program.

Crispher avatar Jun 25 '24 08:06 Crispher

Btw, the translation is done with the help of an LLM, so it is bound to have some errors, I just fix some simple ones.

paulcx avatar Jun 26 '24 03:06 paulcx

@Crispher Inspired by your video, I implemented a web explorer using echarts and wanted to add translations and even wikis to it. @paulcx Can I use your translation?

xushengfeng avatar Jul 06 '24 07:07 xushengfeng

feel free to use and share.

paulcx avatar Jul 07 '24 06:07 paulcx