February 27, 2021, 09:03:52 PM

News:

--


Problem with automatic language (2.7.6)

Started by icloudbart, December 15, 2020, 06:21:40 AM

Previous topic - Next topic

icloudbart

December 15, 2020, 06:21:40 AM Last Edit: December 15, 2020, 06:24:01 AM by icloudbart
While it is useful for many people there is a problem with automatic language selection.
Upon installing version 2.7.6 I was surprised to find avidemux unreadable (French).
How it works is unclear for me, I think it searches for the system language, but there it failed.

In my case, I live in Belgium.
In Belgium there are 2 main languages: French and Flemmish (Dutch), and a bit German aswell.
I'm Flemmish.
Dutch is the main languange of the Netherlands, which is a neighbour country, but that is a whole other discussion lol. Flemmish and Dutch are very much alike.
The same way as English and American are much alike.

So in the settings (MacOSX) for region there is Belgium, for preferred language there is Dutch (Nederlands). And if I'm not mistaken, the keyboard is a French layout.

I hope this helps a developer of avidemux.
Maybe the easiest solution would be to make a statement, when firing up avidemux for the first time, that other languages ARE available in the settings, but NOT automatically change it into what avidemux thinks it is.

Now I HAVE to admit that upon checking my MacOSX settings somehow there was, besides my main primary language, French and some sort of Chinese. I don't recall me chasing those languages, so I have absolutely no idea as to why they where there.

Thanks everyone.

eumagga0x2a

December 15, 2020, 08:04:36 AM #1 Last Edit: December 15, 2020, 08:08:46 AM by eumagga0x2a
Avidemux obeys the environment variable LANG as set by locale, but no Dutch translation exists (neither for Avidemux, nor for Qt which Avidemux uses as graphical user interface toolkit), so

LANG=nl_BE.UTF-8 /Applications/Avidemux_2.7.7.app/Contents/MacOS/Avidemux2.7
in the Terminal should launch Avidemux with Dutch GUI, but due to lack of translation it will launch in English. "Avidemux_2.7.7" is not a typo: an update to a recent nightly build would be highly recommended, 2.7.6 is very outdated.

I don't think it might pose a problem, at least in Europe, to press "Command + ," and to select English from the dropdown menu.