• sga@lemmings.world
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    how much is the cost of running libretranslate (i am presuming it is not a small amount)? this can be abused to run commercial translation jobs for free by just posting comments. I know libretranslate by itself has a free website available, but i presume they would restrict the free apis, but I do not know how would they restrict here

    • Rimu@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      I’m running Libretranslate on my home server, it was very easy to set up and costs me nothing. It seems very lightweight and caches well so if 100 instances all requested translations of the same post it would only translate the first time.

      • sga@lemmings.world
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        that is great. I feared that it may cost way too much and libretranslate folks might not like the cost

      • Tuukka R@piefed.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 hours ago

        I am likely to write comments in Finnish, English, German, Ukrainian, Russian, Latvian, Estonian, Polish, and Lithuanian.

        Most of the comments I write on Piefed are in English because I come from a small country, but I would absolutely prefer them being translated to Finnish instead. Now it apparently works so that I must write comment somewhere in FInnish and delete it so that I will get some French text translated to Finnish instead of English?

        And the same, just about a week ago I wrote a comment in Lithuanian. It was just a few words because my Lithuanian has gotten a bit rusty in the 11 years after I quit my university, and my Lithuanian is rusty. Now, if I had wanted a Portuguese text translated after having written that comment, I would have first needed to find some excuse to write a comment in Finnish or at least English or German, because those three are the only three languages in which I can comfortably read a long text.

        I would suggest just allowing the user to choose the target language in the settings. Maybe put a tiny arrow next to the globe icon to choose some other language? And then translate by default to the target language that was chosen through that tiny-arrow-menu the previous time?

        To underline: You cannot even choose the language a person has used the most, because a lot of people write more posts in English than in their native language. I’m not sure if Finnish is supported as a target language – probably not – but a German person would definitely prefer having German as their target language even if they just took part in a conversation with foreigners. As I am doing right now.

      • Jeena@piefed.jeena.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Hm, I’m switching between 4 languages, but OK, at least I really do understand all of them :D