this post was submitted on 24 Jun 2024
4 points (100.0% liked)

PieFed help

196 readers
1 users here now

It's seems right that we should have a local community to help us all with PieFed

founded 10 months ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 4 months ago (1 children)

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?

[โ€“] [email protected] 1 points 4 months 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 ;-)