it works on category names, descriptions, and subcategories when the option show_subcategory_list is active on a category !
The only issue left is subcategories when show_subcategory_list is off
If I want to translate categories, category-descriptions and tags in my forum to 10 different languages, I have to create and upload 3 x 10 = 30 separate files for configuration and updates.
Iām thinking about having all translations in one file with following structure:
categories:
slug:
_de: German name
_en: English name
.description:
_de: German description
_en: English description
tags:
tag:
...
This would have several benefits:
All translations could be updated at once
Translators see context during translation
Streamline translation tasks utilizing Large Language Models
Has anyone tried this before?
Are there any downsides I do not see?
Regarding a first implementation, I will try to write a plugin that creates and updates all needed entries in Multilingual::CustomTranslation.
This plugin is in need of an upgrade. I want to gauge whether it is worth it, and what is needed. If youāre interested in multilingual features please vote:
I use the plugin and just want it to keep working.
I use the plugin and want better/different functionality or UX.
I want better multilingual functionality in Discourse but donāt use this plugin (please explain below).
None of the above (please explain below why you voted).
My answer āI want better multilingual functionality in Discourse but donāt use this plugin (please explain below)ā is because we are just evaluating for good a multilanguage-option. It would be great to find your tool to be the one.
As you asked for what ist needed I put my post I wrote for general question fĆ¼r multilanguage support here:
We do have a website with one domain and two languages (german, english). The content ist divided by domain.org/de/[nameofsite] and domain.org/en/[nameofsite].
Wo do have a discourse-forum in german language at the subdomain [germankeyword]-forum.domain.org
Now we want to add an english forum version.
Unfortunately the english keyword, which aptly describes the topic, and which we would want to use for the english forum ([englishkeyword]-forum.domain.org) differs from the german keyword. The german keyword doesnāt work in english and the english keyword doesnāt work in german.
Question:
Is ist possible to run a (one) discourse-forum with different subdomains for different languages while using only one account management?
Or do we have to build a completely new english forum with its own subdomain and its own account management?
With the term āone account managementā i do mean only one database for users and only one login for both languages.
Ist there any possibility to avoid that users, who want to use both languages, have to register twice?
Or do we strictly need to restrict us to one domain if we want to offer the same logins for different languages oft the same forum?
If we do need one domain and one forum, ist there a possibility to show the language of a post in the linkname oft the post?
Part of the goal of this plugin is to allow different native speakers to exist on the same forum and for their preferred language to be naturally surfaced to them. That was the original intent of the plugin.
Yes, youād have them on the same forum. If you really have to have two separate forums youād have to use an identity provider, e.g. auth0 or okta, which then provides authentication for both forums.
This isnāt currently a feature of the plugin however itād be possible to achieve this with some additional work. To fully achieve your vision additional work would be needed either way. You can send me a private message on coop.pavilion.tech.
Given the results of this poll Iām going to work on the next major version of this plugin starting in September. If you have any specific requests for features, nowās the time to make them. The next version of the plugin will also have a paid business subscription available with support and other benefits. The plugin will remain 100% open source.
As a part of very small and difficult language family I need AI-based translations for my finnish and estonian users. Translation services are horrible bad outside main languages.
Translations into English are a bit better, though.
Iām trying to use the multilingual guest language switcher footer visible setting, to make the communityās main languages quickly accessible as interface languages for guests. Here is what I observed:
The bar with the shortlist of interface languages is only visible when when multilingual guest language switcher is set to footer, but not when itās set to header.
As the bar is also called a āfooterā in the setting name (even though it isnāt in Discourseās page footer, but rather floats over the content near the lower right corner of the window), this might be expected. Though on sites offering a lot of interface languages (e.g. all currently available in Discourse), itād be nice to have a quick-access short-list of the communityās main languages available independent of the placement of the full language chooser menu for guests. (And I think a menu button in the header looks much cleaner than bar floating over random parts of the page content, covering up some of it.)
Maybe when header is chosen and languages are selected in multilingual guest language switcher footer visible, those could be sorted to the top of the menu and somewhat highlighted?
The setting allows to re-order the languages selected for the shortlist in the bar:
However, the bar seems to ignore that order and instead seems to sort the languages alphabetically by their 2-letter short code:
Itād be nice if the order configured in the setting was honored (either by default, or through an additional setting toggle.)
Oh, and when multilingual guest language switcher is set to header, the menu with the list of languages is not scrollable (nor limited by the height of the browser window), so some languages arenāt selectable, because they happen to end up below the lower edge of the browser. (Workaround in Firefox: Zoom out with Ctrl+Scrollwheel, so that the whole menu fits into the Browser window.)
This is with version 0.2.9 (ba63f9a) of the āMultilingualā-Plugin.
A previous admin of our instance seems to have already uploaded some category_name.<language code>.yml at <discourse base URL>/admin/multilingual/translations.
However they donāt seem to work. Is there a way to view or download their content, so I can modify them and upload again?
Edit:
They do work now. (I donāt know what changed.) Iād still be interested in downloading them (or accessing them on the server, if theyāre on the file system there), in case I need to modify them at some point.
I have replaced ē®ä½äøę with ķźµģ“.
A pencil icon did appear, notifying of a change.
But if you look at edit history entry, the topic language change is not shown.
The Before and After are identical, even in Raw mode.