Hi, I’m trying to create a new Silesian translation on my local host (for now). I’m following the tutorial on Github but so far I’ve only managed to lock myself out of my instance. Here’s what I did.
szl: ‘Ślōnski’, <— added line
:szl, <— added line
In config/locales/ i copied:
doorkeeper.pl.yml —> doorkeeper.szl.yml
devise.pl.yml —> devise.szl.yml
simple_form.pl.yml —> simple_form.szl.yml
pl.yml —> szl.yml
I replaced the language code in each file as well.
The option to change the language to Silesian showed up in my instance but after saving the settings my Mastodon account stopped working and it only shows the angry mastodon gif and “We’re sorry, but something went wrong on our end.”
Is there anything else I was supposed to do? The tutorial seems to be slightly outdated since it names several files that do not exist anymore (eg.
app/views/user_mailer/confirmation_instructions.en.html.erb) and mentions that I should put information about my language to
mastodon.js while they lack any mention of any specific language so I’m not sure what I should put there. Any ideas?