lishogi icon indicating copy to clipboard operation
lishogi copied to clipboard

Translation of user content

Open AlexGTrick opened this issue 2 years ago • 1 comments

I wonder, if it's possible to translate some content that doesn't relate to the UI items, but rather relates to published user's content.

If considering something the very simplest, then I would be happy if I could help with translating that article about the Chu Shogi variant https://lishogi.org/variant/chushogi into some languages I speak.

If considering something more complicated, then I see this as a good input if there are possible to translate studies. That would probably require additional UI to input translation directly on the study. The relevant content is displayed in the language that is selected in the language settings.

Is this theoretically possible to introduce with time? And is this reasonable in general at all?

AlexGTrick avatar Aug 12 '23 18:08 AlexGTrick

For blog posts and some 'page articles' (like variants, impasse explanation, kif explanation, etc.), we have two language versions - EN and JP. But already most of these pages are not translated to JP, so I haven't considered adding more languages. It's not difficult to add more language options, the infrastructure is already there, but we use prismic for these articles, which as far as I know doesn't allow for crowd translations, making this difficult to maintain, so for now I think I will just stick with en and jp.

Studies are a different story. I could add some special syntax for different language versions, similarly like we have with move notation now (if you type 'What about [usi:5a5b]', it will display the move in the user specified notation). With languages this could be handled with some UI, so people don't have to know the syntax. Still only the owner of the study (or collaborators with write privs) could add these different lang versions... Not sure how many people would make use of this features, but I could add it, if there's demand.

WandererXII avatar Aug 12 '23 20:08 WandererXII