Ralkage Nope, I would like to make a post and translate it by myself before posting it

The best way to realize this is to

  • be able to tag discussions with a language tag
  • make it possible to choose as a user what languages I am interested in (e.x. in profile settings or after registration)
  • set right language in html by tags for seo
  • ...

Yeah, but I don't know if it's possible to do with a plugin (and in case, I know nothing about the plugins yet, but I believe that if a plugin can have its own table, it would be easy to do it)...
I would like to talk to an admin or someone who actually coded a plugin right now since in this moment I haven't time to check it...
Anyway, the table would be called something like "translations" and as fields (I had no time to look at the DB schema, so I'm just guessing) I believe it would be enough to have an id as PK, a messageas a FK to refer to the message, a language filed to indicate the translated language and a translation with the message translated...
Ad for the UI, I believe it could be possible to add a combo box next to the Minimize button with the languages actually in use:
https://i.imgur.com/7qhtBmp.png
https://i.imgur.com/D4ivmTf.png

If somebody's willing to sponsor the development of such an extension I'd be happy to work on it ?

Might be a bit difficult to decide on a requirement list that satisfies everybody here though, there are so many possibilities regarding content translation.

    I believe this would be the first forum with such a feature

    I guess content translation for posts is not the right way to do it.

    You can't have a discussion in more then one language. I mean, i could start here writing and explaining in german (of course only if the start post would have a german translation), but at some point some people are going to loose track of the discussion.

    That's why I started with language tagging ... A simple system where you tag your discussion in one specific language. And well, if you'd like to have the same topic in another language, just make another thread.

    Keep it simple. ?

      arajdon I belive it could be possible to make use of the Deepl or the Google Translate API in case anyway...

        Or, if my idea isn't appreciated, it could be possible to show the threads based on the current language in use

        Multilanguage contents aren't easy to achieve. Anyway will be great an extension that allow add language icons (flags). At least user can identify contents language from discussion lists.

        Pandry sure it would be possible to have a kind of "overlay" for language translations.. but is it really worth it?

          arajdon No idea...
          I am just proposing...
          But probably the best idea it's to duplicate the thread and show only a thread per language

            Pandry why not simply use tags for this? If you're simply duplicating the original post with translated content, and not translating the replies to the original, they would simply be parallel discussions in different languages. You could just create secondary tags with the specific languages you support and tag discussions as necessary.

              jordanjay29 The language itself is not a topic and should not "waste" any secondary tags.

              Plus, flarum tagging is very basic and has not any functions of rules or extended inherence. (What I a little mad of.)

              Consider following:

              • language filtering: there could be user that don't want to see specific languages in their "All discussions"
              • one discussion = one language: if configured user are able to set multiple secondary tags
              • intuitive interface/language settings
              • seo: right html headers for discussion
                ...

                Ok,
                So when you create a thread the forum could look at the language currently in use and make the thread visible only to people with the same language (and maybe there could be an option to see all the threads)...
                Is it a better approach?

                  Pandry In first place, i would show all languages. And if the user wants to, he should be able to select (in the easiest way possible) which he wants.

                  It's also needed to configure what langs are possible to use. I don't want any other langs except english, germand and polish because I am not able to administer them.

                    arajdon How about support all the languages currently in use in the forum?
                    And there could be the possibility to see all the languages by ticking a checkbox in the language selection, am I wrong?
                    I was thinking to something like this:
                    https://i.imgur.com/Og9Q2i4.png

                      8 days later

                      Pandry the question is if flarum is able to determine language. Like does it know that the language pack English is actually English..? do you get me?

                        arajdon no, it trusts that language set to en-** is English. Same for any of them.