this post was submitted on 25 Nov 2024
23 points (89.7% liked)

Selfhosted

40749 readers
497 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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 https://lemmy.world/post/22397768 .

Hi. just installed a 0.19.7 version of Lemmy at https://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 https://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 https://forumrs.com/c/selfhosted[@SpaceCadet@lemmy.world](https://lemmy.world/u/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 ?

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.

you are viewing a single comment's thread
view the rest of the comments
[–] just_another_person@lemmy.world 2 points 1 month ago (1 children)

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 1 points 1 month ago

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