Incorrect use of the customTransLangs configuration

Created on 2 July 2025, about 1 month ago

Problem/Motivation

The configuration for setting rsconf.general.customTransLangs generates an array, while the expected value should be a comma separated string.
By default the product is expected to always show all standard langauges, so we recommend against setting it by default, and instead have the config disabled unless specifically enabling it. It's main use case is to disable specific unwanted translation languages, and that is not considered to be a common case.

Steps to reproduce

  1. Select text
  2. Click in Translate
  3. The list is empty (see attached picture)

Proposed resolution

Disable the setting by default, but when used output a comma separated string of the selected values.

User interface changes

Hide the config unless specifically enabled by the implementer.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @rssupportcalle
  • First commit to issue fork.
  • Merge request !40Resolve #3533644 "Incorrect use of" → (Open) created by Dobefu
  • 🇳🇱Netherlands Dobefu

    I've created a merge request to minimally solve the issue. Ideally, the config schema should be altered to align with the ReadSpeaker config object, but this is the most pragmatic solution for now.

  • Pipeline finished with Success
    12 days ago
    Total: 374s
    #552881
  • Pipeline finished with Success
    12 days ago
    Total: 134s
    #552891
Production build 0.71.5 2024