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

PieFed help

187 readers
2 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.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 4 months ago (1 children)

No, I don't think you did anything wrong. It looks like languages are added as your instance becomes aware of them. On my test instance, there was a very random-looking list of 8 languages, but sticking [email protected] in 'Add Remote' meant that 'Deutsch' was added too.

[–] [email protected] 1 points 4 months ago

Thanks. Worked for me.

[–] [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 ;-)