lllyasviel / Fooocus

Focus on prompting and generating
GNU General Public License v3.0
41.5k stars 5.9k forks source link

i18n #705

Open aolko opened 1 year ago

aolko commented 1 year ago

Will you implement i18n? Both for the UI and for the prompting.

tiwentichat commented 1 year ago

I would do some work on Chinese simplified version

lllyasviel commented 1 year ago

I added translation support. But we do not have any configs yet. We weed your helps. @tiwentichat @aolko https://github.com/lllyasviel/Fooocus#localizationtranslationi18n

aolko commented 1 year ago

I added translation support. But we do not have any configs yet. We weed your helps. @tiwentichat @aolko https://github.com/lllyasviel/Fooocus#localizationtranslationi18n

So, all we have right now is 4 strings? Anyway, #751.

Edit: Oh and can we also have prompt translation from \<any> to english?

lllyasviel commented 1 year ago

the 4 items are examples you can add arbitary number of items to translate text in UI

aolko commented 1 year ago

the 4 items are examples you can add arbitary number of items to translate text in UI

where can i get the all of the original english strings? Why some service strings are not translatable?

lllyasviel commented 1 year ago

I uploaded en.json just now - it should has every key

lllyasviel commented 1 year ago

due to some problems, the word "Document" seems has no effect, but all other strings work well - we will look at that later

lllyasviel commented 1 year ago

I find it possible to ask chatgpt to translate it to all human languages, but this is not recommended without human proof read

lllyasviel commented 1 year ago

7.1.722 can now translate 100% all texts in the UI. see also en.json for correct keys

hzeasy commented 1 year ago

This work is not complicated, this is the Chinese translated text。 CN_example.json