wagtail / wagtail-ai

Get help with your Wagtail content using AI superpowers.
https://wagtail-ai.readthedocs.io/latest
MIT License
134 stars 23 forks source link

Make all strings translatable #36

Open zerolab opened 10 months ago

zerolab commented 10 months ago

At the moment everything is in English. We should make them translatable and ship translations, when added.

questions:

Nigel2392 commented 8 months ago

I assume you're talking about the prompt strings?

Similar question (if you're talking about those) Why don't we just make them model-based? This would require some major refactoring to the core functionality, but I think the benefits outweigh the downsides by a LOT. I've tested with this for a customer on my own project recently - having an easy interface in the admin to manage your API key and prompts without downtime are such a big win for personalized generated content in the native language of the developer. Relatively easy to implement - we can use streamfield bound to a generic settings model and easily generate multiple prompts on demand.
IE: "You are a book writing assistant", "You are helping the user with his news blog", "You provide financial information to the user".

zerolab commented 8 months ago

@Nigel2392 we moved the prompts to be model-based in #38

We had a few user-facing messages that needed translation. Some were covered by #48.

Just needs a review and addressing any remaining ones

Nigel2392 commented 8 months ago

@Nigel2392 we moved the prompts to be model-based in #38

We had a few user-facing messages that needed translation. Some were covered by #48.

Just needs a review and addressing any remaining ones

Whoops, just noticed and installed from source. Seems like a fun update ;)