Locale files are not installed with mkvtoolnix-gui
Description:
In L91 of the PKGBUILD file, all locale files are being intentionally removed. This makes the GUI program unable to load the language that the user set in the configuration, and resulting in an untranslated UI, as shown in the screenshot below:
Fig 1. Interface language set to Chinese (Traditional) but interface is still in English
Additional info:
- package version(s): 94.0-2
- config and/or log files:
mkvtoolnix-gui.ini
mkvtoolnix-gui.ini[QgsCollapsibleGroupBox]
mergeTool\audioPropertiesBox\collapsed=false
mergeTool\colorInformationBox\collapsed=false
mergeTool\colorMasteringMetaInformationBox\collapsed=false
mergeTool\generalOptionsBox\collapsed=false
mergeTool\miscellaneousBox\collapsed=false
mergeTool\subtitleAndChapterPropertiesBox\collapsed=false
mergeTool\timestampsAndDefaultDurationBox\collapsed=false
mergeTool\videoProjectionInformationBox\collapsed=false
mergeTool\videoPropertiesBox\collapsed=false
[defaults]
defaultAdditionalMergeOptions=--disable-track-statistics-tags
defaultAudioTrackLanguage=und
defaultChapterLanguage=und
defaultDeriveCommentaryFlagFromFileNames=true
defaultDeriveFlagsFromTrackNames=true
defaultDeriveHearingImpairedFlagFromFileNames=true
defaultDeriveSubtitlesForcedFlagFromFileNames=true
defaultRegexForDerivingCommentaryFlagFromFileNames="(^|[[\\](){} .+=#-])(comments|commentary)([[\\](){} .+=#-]|$)"
defaultRegexForDerivingHearingImpairedFlagFromFileNames="(^|[[\\](){} .+=#-])(cc|sdh)([[\\](){} .+=#-]|$)"
defaultRegexForDerivingSubtitlesForcedFlagFromFileNames="(^|[[\\](){}.+=#-])(forced|signs)([[\\](){}.+=#-]|$)"
defaultSetOriginalLanguageFlagLanguage=
defaultSubtitleCharset=
defaultSubtitleTrackLanguage=und
defaultVideoTrackLanguage=und
whenToSetDefaultLanguage=1
[headerViewManager]
Info%3A%3AElements\columnOrder=elements, content, position, size, dataSize
Info%3A%3AElements\columnSizes=elements:261, content:100, position:100, size:100, dataSize:641
Info%3A%3AElements\hiddenColumns=@Invalid()
Merge%3A%3AFiles\columnOrder=fileName, container, fileSize, directory
Merge%3A%3AFiles\columnSizes=fileName:200, container:100, fileSize:60, directory:256
Merge%3A%3AFiles\hiddenColumns=@Invalid()
Merge%3A%3ATracks\columnOrder=codec, type, muxThis, language, name, id, defaultTrackFlag, forcedTrackFlag, characterSet, properties, sourceFile, sourceFileDir, program, delay
Merge%3A%3ATracks\columnSizes=codec:150, type:80, muxThis:100, language:100, name:150, id:57, defaultTrackFlag:64, forcedTrackFlag:100, characterSet:100, properties:150, sourceFile:100, sourceFileDir:100, program:100, delay:100
Merge%3A%3ATracks\hiddenColumns=@Invalid()
[info]
guiVersion=94.0
[jobQueue]
order=@Invalid()
[languageShortcuts]
0001\language=en
0001\trackName=
0002\language=zh
0002\trackName=
0003\language=ja
0003\trackName=
0004\language=und
0004\trackName=
0005\language=mul
0005\trackName=
0006\language=zxx
0006\trackName=
[runOncePerVersion]
cacheCleanup=94.0
[runProgramConfigurations]
0001\active=true
0001\audioFile=<MTX_INSTALLATION_DIRECTORY>/../share/mkvtoolnix/sounds/finished-1.webm
0001\commandLine=@Invalid()
0001\forEvents=0
0001\name=
0001\type=2
0001\volume=75
0002\active=true
0002\audioFile=
0002\commandLine=@Invalid()
0002\forEvents=0
0002\name=
0002\type=5
0002\volume=75
0003\active=true
0003\audioFile=
0003\commandLine=@Invalid()
0003\forEvents=0
0003\name=
0003\type=4
0003\volume=75
0004\active=true
0004\audioFile=
0004\commandLine=@Invalid()
0004\forEvents=0
0004\name=
0004\type=3
0004\volume=75
0005\active=false
0005\audioFile=
0005\commandLine=@Invalid()
0005\forEvents=0
0005\name=
0005\type=6
0005\volume=75
0006\active=true
0006\audioFile=
0006\commandLine=@Invalid()
0006\forEvents=0
0006\name=
0006\type=8
0006\volume=75
addedDefaultConfigurationType2=true
addedDefaultConfigurationType3=true
addedDefaultConfigurationType4=true
addedDefaultConfigurationType5=true
addedDefaultConfigurationType6=true
addedDefaultConfigurationType8=true
[settings]
autoClearFileTitle=true
autoClearOutputFileName=true
autoDestinationOnlyForVideoFiles=false
autoSetFileTitle=true
bcp47LanguageEditingMode=1
bcp47NormalizationMode=1
ceTextFileCharacterSet=
chapterNameTemplate=Chapter <NUM:2>
clearMergeSettings=0
derivingTrackLanguagesFromFileNames\audioPolicy=2
derivingTrackLanguagesFromFileNames\boundaryChars="[](){}.+-=#"
derivingTrackLanguagesFromFileNames\recognizedTrackLanguagesInFileNames=abk, aar, afr, aka, alb, amh, ara, arg, arm, asm, ava, ave, aym, aze, bam, bak, baq, bel, ben, bih, bis, bos, bre, bul, bur, cat, cha, che, chi, chu, chv, cor, cos, cre, hrv, cze, dan, div, dut, dzo, eng, epo, est, ewe, fao, fij, fin, fre, ful, glg, lug, geo, ger, gre, grn, guj, hat, hau, heb, her, hin, hmo, hun, ice, ido, ibo, ind, ina, ile, iku, ipk, gle, ita, jpn, jav, kal, kan, kau, kas, kaz, khm, kik, kin, kir, kom, kon, kor, kua, kur, lao, lat, lav, lim, lin, lit, lub, ltz, mac, mlg, may, mal, mlt, glv, mao, mar, mah, mon, nau, nav, ndo, nep, nde, sme, nor, nob, nno, nya, oci, oji, ori, orm, oss, pli, pan, per, pol, por, pus, que, rum, roh, run, rus, smo, sag, san, srd, gla, srp, hbs, sna, iii, snd, sin, slo, slv, som, nbl, sot, spa, sun, swa, ssw, swe, tgl, tah, tgk, tam, tat, tel, tha, tib, tir, ton, tso, tsn, tur, tuk, twi, uig, ukr, urd, uzb, ven, vie, vol, wln, wel, fry, wol, xho, yid, yor, zha, zul
derivingTrackLanguagesFromFileNames\subtitlePolicy=2
derivingTrackLanguagesFromFileNames\videoPolicy=0
disableCompressionForAllTrackTypes=false
disableDefaultTrackForSubtitles=false
dropLastChapterFromBlurayPlaylist=true
elideTabHeaderLabels=false
enableMuxingAllAudioTracks=false
enableMuxingAllSubtitleTracks=false
enableMuxingAllVideoTracks=true
enableMuxingForcedSubtitleTracks=false
enableMuxingTracksByLanguage=false
enableMuxingTracksByTheseLanguages=@Invalid()
enableMuxingTracksByTheseTypes=5, 2, 3, 6, 1, 7, 0, 4
fileColors\color0=@Variant(\0\0\0\x43\x1\xff\xff\0\0\xff\xff\0\0\0\0)
fileColors\color1=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\xff\xff\0\0)
fileColors\color10=@Variant(\0\0\0\x43\x1\xff\xff\xbf\xbf\xbf\xbf\0\0\0\0)
fileColors\color11=@Variant(\0\0\0\x43\x1\xff\xff\xbf\xbf\0\0\xbf\xbf\0\0)
fileColors\color12=@Variant(\0\0\0\x43\x1\xff\xff\0\0\xbf\xbf\xbf\xbf\0\0)
fileColors\color13=@Variant(\0\0\0\x43\x1\xff\xff\x7f\x7f\x7f\x7f\x7f\x7f\0\0)
fileColors\color14=@Variant(\0\0\0\x43\x1\xff\xff\0\0\x7f\x7f\0\0\0\0)
fileColors\color15=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\x7f\x7f\0\0)
fileColors\color16=@Variant(\0\0\0\x43\x1\xff\xff\x7f\x7f\0\0\0\0\0\0)
fileColors\color17=@Variant(\0\0\0\x43\x1\xff\xff\x7f\x7f\x7f\x7f\0\0\0\0)
fileColors\color18=@Variant(\0\0\0\x43\x1\xff\xff\x7f\x7f\0\0\x7f\x7f\0\0)
fileColors\color19=@Variant(\0\0\0\x43\x1\xff\xff\0\0\x7f\x7f\x7f\x7f\0\0)
fileColors\color2=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\0\0\0\0\0\0)
fileColors\color20=@Variant(\0\0\0\x43\x1\xff\xff??????\0\0)
fileColors\color3=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\0\0\0\0)
fileColors\color4=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\0\0\xff\xff\0\0)
fileColors\color5=@Variant(\0\0\0\x43\x1\xff\xff\0\0\xff\xff\xff\xff\0\0)
fileColors\color6=@Variant(\0\0\0\x43\x1\xff\xff\xbf\xbf\xbf\xbf\xbf\xbf\0\0)
fileColors\color7=@Variant(\0\0\0\x43\x1\xff\xff\0\0\xbf\xbf\0\0\0\0)
fileColors\color8=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\xbf\xbf\0\0)
fileColors\color9=@Variant(\0\0\0\x43\x1\xff\xff\xbf\xbf\0\0\0\0\0\0)
fixedOutputDir=.
headerEditorDateTimeInUTC=false
headerEditorDroppedFilesPolicy=0
ignorePlaylistsForMenus=true
info\defaultJobSettings\checksums=false
info\defaultJobSettings\hexDumps=0
info\defaultJobSettings\hexPositions=false
info\defaultJobSettings\mode=0
info\defaultJobSettings\trackInfo=false
info\defaultJobSettings\verbosity=0
jobRemovalOnExitPolicy=0
jobRemovalPolicy=0
lastConfigDir=.
lastOpenDir=/home/mikelei/Videos/live
lastOutputDir=/home/mikelei/Videos/live
maximumConcurrentJobs=1
mediaInfoExe=
mergeAddBlurayCovers=true
mergeAddingAppendingFilesPolicy=0
mergeAlwaysCreateNewSettingsForVideoFiles=false
mergeAlwaysShowOutputFileControls=true
mergeAttachmentsAlwaysSkipForExistingName=false
mergeDefaultCommandLineEscapeMode=1
mergeDragAndDropDirectoriesPolicy=0
mergeDragAndDropFilesPolicy=1
mergeEnableDialogNormGainRemoval=false
mergeEnsureAtLeastOneTrackEnabled=true
mergeLastAddingAppendingDecision=1
mergeLastDragAndDropFilesDecision=1
mergeLastFixedOutputDirs=.
mergeLastOutputDirs=.
mergeLastRelativeOutputDirs=.
mergePredefinedAudioTrackNames=@Invalid()
mergePredefinedSplitDurations=01:00:00, 1800s
mergePredefinedSplitSizes=350M, 650M, 700M, 703M, 800M, 1000M, 4483M, 8142M
mergePredefinedSubttitleTrackNames=@Invalid()
mergePredefinedVideoTrackNames=@Invalid()
mergeReconstructSequencesWhenAdding=true
mergeSetDestinationFromDirectory=false
mergeSetDestinationFromTitle=true
mergeShowDNDZones=true
mergeSortFilesTracksByTypeWhenAdding=true
mergeTrackPropertiesLayout=0
mergeUseFileAndTrackColors=true
mergeWarnMissingAudioTrack=1
minimumPlaylistDuration=120
numRecentlyUsedStringsToRemember=10
oftenUsedCharacterSets=ISO-8859-15, MS-ANSI, US-ASCII, UTF-8, WINDOWS-1250, WINDOWS-1252
oftenUsedCharacterSetsOnly=false
oftenUsedLanguages=chi, eng, jpn, mul, zxx, qaa, mis, und
oftenUsedLanguagesOnly=true
oftenUsedRegions=@Invalid()
oftenUsedRegionsOnly=false
outputFileNamePolicy=4
priority=1
probeRangePercentage=0.3
regexForRecognizingForcedSubtitleNames=forced
relativeOutputDir=.
removeOldJobs=true
removeOldJobsDays=14
removeOutputFileOnJobFailure=false
resetJobWarningErrorCountersOnExit=false
scanForPlaylistsPolicy=0
setAudioDelayFromFileName=true
showDebuggingMenu=false
showMoveUpDownButtons=false
showOutputOfAllJobs=true
showToolSelector=true
switchToJobOutputAfterStarting=false
tabPosition=0
uiDisableHighDPIScaling=false
uiDisableToolTips=false
uiFontFamily=Ubuntu
uiFontPointSize=11
uiLocale=zh_TW
uiPalette=0
uiStayOnTop=false
uniqueOutputFileNames=true
updates\checkForUpdates=false
updates\lastUpdateCheck=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x8c\xf2\0\f%H\0)
updates\version_91_0=true
updates\version_94_0=true
useDefaultJobDescription=false
useISO639_3Languages=true
useLegacyFontMIMETypes=false
warnBeforeAbortingJobs=true
warnBeforeClosingModifiedTabs=true
warnBeforeOverwriting=true
[splitterSizes]
chapterEditorSplitter=1, 1
headerEditorSplitter=244, 970
mergeAttachmentsSplitter=1, 1
mergeFilesTracksSplitter=1, 1, 1
mergeInputSplitter=1, 1
mergeOutputSplitter=1, 1
pagesSplitter=202, 837
sOutput=1, 1
sWarningsErrors=1, 1
[windowGeometry]
mtx__gui__MainWindow=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x5\x30\0\0\x3\\\0\0\0\0\0\0\0\0\0\0\x5\x30\0\0\x3\\\0\0\0\0\0\0\0\0\x6\xc0\0\0\0\0\0\0\0\0\0\0\x5\x30\0\0\x3\\)
mtx__gui__Merge__AdditionalCommandLineOptionsDialog=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1l\0\0\0\xf5\0\0\x5!\0\0\x3+\0\0\x1l\0\0\x1\x1a\0\0\x5!\0\0\x3+\0\0\0\0\0\0\0\0\x6p\0\0\x1l\0\0\x1\x1a\0\0\x5!\0\0\x3+)
mtx__gui__Merge__CommandLineDialog=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x34\0\0\x1j\0\0\x4Y\0\0\x2\xb5\0\0\x2\x34\0\0\x1\x8f\0\0\x4Y\0\0\x2\xb5\0\0\0\0\0\0\0\0\x6p\0\0\x2\x34\0\0\x1\x8f\0\0\x4Y\0\0\x2\xb5)
mtx__gui__PreferencesDialog=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4(\0\0\x3+\0\0\0\0\0\0\0\0\0\0\x4(\0\0\x3+\0\0\0\0\0\0\0\0\x6\xc0\0\0\0\0\0\0\0\0\0\0\x4(\0\0\x3+)
mtx__gui__PrefsLanguageShortcutDialog=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2Q\0\0\x1\xb5\0\0\x4:\0\0\x2j\0\0\x2Q\0\0\x1\xda\0\0\x4:\0\0\x2j\0\0\0\0\0\0\0\0\x6p\0\0\x2Q\0\0\x1\xda\0\0\x4:\0\0\x2j)
mtx__gui__Util__LanguageDialog=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\x9e\0\0\0\x1b\0\0\x4\xbe\0\0\x2X\0\0\x1\x9e\0\0\0@\0\0\x4\xbe\0\0\x2X\0\0\0\0\0\0\0\0\x6p\0\0\x1\x9e\0\0\0@\0\0\x4\xbe\0\0\x2X)
- link to upstream bug report, if any: none
Steps to reproduce:
- Set the "Interface language" in MKVToolNix GUI preferences to any language other than "English".
- Save the preference by clicking on the "OK" button.
- You can see that the interface is still in English, while we just set the language to some other language that is not English.
Edited by Mike Lei
