I’ve installed PyFedi and did the things outlined in the INSTALL.txt

flask db migrate
flask init-db

Now when I add communities or posts, English is the only option for language. And I’ve looked into the PostgreSQL database… It’s just two rows in the language table, Undetermined and English.

Did I do something wrong? Is that supposed to happen? How can I add all the other languages, because on piefed.social there is a long list of options available.

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    Yes, as Andrew said, languages are added automatically as content using those languages arrives from other instances.

    This is not ideal. I think we need to improve something either in the initial setup or the admin UI.

    You can work around this by subscribing to a community that uses the language you want. Or you could manually insert a row into the language table in the DB - ensure the value of the ‘code’ column is the standard 2 letter language code for your language. Which language is it?

    • rufus@piefed.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      Thanks, yeah just for now I was actually looking for German. Andrew’s answer helped me. In doubt I’ll scan for other communities or poke around in the database. Unfortunately I have no clue how Postgres works ;-)