A few issues with a new lemmy instance
from SuperAdmin@forumrs.com to selfhosted@lemmy.world on 25 Nov 21:26
https://forumrs.com/post/55

I posted this question on the matrix chat, but I think I have a better of getting answers here.

I am the guy who posted this lemmy.world/post/22397768 .

Hi. just installed a 0.19.7 version of Lemmy at forumrs.com with ansible and I am facing a few issues… I am hoping to get hints at how I might fix these. I am using cloudflare as CDN sitting in front of the website.

  1. Languages are driving me mad. My Lemmy instance needs to be in ONE particular language only - that is Georgian. But new registration defaults to English and Undetermined. THIS IS TOO BAD for me because somebody who sings up does not see anything on homepage unless they select Georgian in the list of the languages in their profile! And if browser language is used to pick the registration language, that is also bad for me because people do not necessarily have their systems set to Georgian. How do I do it in a way that newly registered users’ profile language defaults to “Undetermined” and “Georgian” ? Instead of “Undetermined” and “English?”

Or ideally just add “Georgian” to existing selections of “Undetermined” and “English?” for newly registered users?

Also, when making a post, how can I make it so that by default Georgian is selected as the language of the post?

  1. I want to allow NSFW content. But I want users to be warned and accept to continue. And lemmy has this feature, great! But it does not work on my instance. So I enable it from admin panel.

But then, when a guest opens the front page, they see a warning that they cannot bypass by pressing “continue” ! The warning just keeps reloading. Is it a bug? Had anyone had this experience?

  1. I want to have interface translation to Georgian as an option. How do I make that happen? Do I make translations at weblate.join-lemmy.org/projects/lemmy/#languages, and then wait for that to be released and then push and upgrade from Ansible? I am confused about the recipe here. How this works.

  2. I subscribed to this community from my instance at forumrs.com/c/…/SpaceCadet)

And it appears the comments are slowly appearing. Is this normal? I have set the config to 10 federation workers.

Thanks for any hints. I am asking these questions because I am very new to this.

  1. I have an instance of Matomo running to capture website analytics. Where and how would I put my tracking javascript code that needs to go into the <head> ?

EDIT: I made this post and edit from my instance, so it works! Weird thing was that I could not post this directly at lemmy.world. Network inspection showed “Unauthorized” when I was clearly authorized.

#selfhosted

threaded - newest

just_another_person@lemmy.world on 25 Nov 22:06 next collapse

These are mostly questions for their GitHub issues since these are feature improvements to working code.

In short, for the top 3 questions: yes, go contribute your translations to the repo, and wait for it to be merged, then update. Localization changes are usually fairly slow to be merged because they may want to QA it.

For #4: the more workers you have, the faster things will be pulled into your instance. If you have the resources, increase the worker count. There are also timing settings for workers you should be able to tweak.

#5: there are hooks for adding third-party analytics. You don’t want to directly add it to the templates, because will break updates in the future when git is the source for updates.

SuperAdmin@forumrs.com on 25 Nov 23:01 collapse

Thanks for the reply.

#5 where would I find information about “hooks” in terms of lemmy? Something to get me started on that. I certainly would need to add a few things without having the future upgrades break it

harcesz@szmer.info on 25 Nov 22:51 collapse

  1. yes normally you would translate (weblate.join-lemmy.org/browse/lemmy/lemmy/ka/) and wait for the update. maybe there’s some faster way to deploy it to your server but if I remember correctly and nothing changed you’d have to compile the app yourself