perl:locale:gettext support available (VDRAdmin support)?

  • Hello,

    any support/HowTo available for locale:gettext support with LibreElec? I like to use the Perl application "vdradmin" with LibreElec. Perl installation is done with Entware and some manual changes and "vdradmind" is working fine except language support and character map support. "locale" addon is installed and configured for "de_DE":

    Display Spoiler

    vdr:~ # locale

    locale: Cannot set LC_CTYPE to default locale: No such file or directory

    locale: Cannot set LC_MESSAGES to default locale: No such file or directory

    locale: Cannot set LC_ALL to default locale: No such file or directory

    LANG=en_US.UTF-8

    LC_CTYPE="en_US.UTF-8"

    LC_NUMERIC="en_US.UTF-8"

    LC_TIME="en_US.UTF-8"

    LC_COLLATE="en_US.UTF-8"

    LC_MONETARY="en_US.UTF-8"

    LC_MESSAGES="en_US.UTF-8"

    LC_PAPER="en_US.UTF-8"

    LC_NAME="en_US.UTF-8"

    LC_ADDRESS="en_US.UTF-8"

    LC_TELEPHONE="en_US.UTF-8"

    LC_MEASUREMENT="en_US.UTF-8"

    LC_IDENTIFICATION="en_US.UTF-8"

    LC_ALL=en_US.UTF-8

    Display Spoiler

    vdr:~ # locale.new -a

    locale.new: Cannot set LC_CTYPE to default locale: No such file or directory

    locale.new: Cannot set LC_MESSAGES to default locale: No such file or directory

    locale.new: Cannot set LC_COLLATE to default locale: No such file or directory

    C

    POSIX

    de_DE

    de_DE.utf8

    en_US.utf8

    ru_RU.utf8

    Display Spoiler

    vdr:~ # locale -a

    locale: Cannot set LC_CTYPE to default locale: No such file or directory

    locale: Cannot set LC_MESSAGES to default locale: No such file or directory

    locale: Cannot set LC_COLLATE to default locale: No such file or directory

    C

    POSIX

    What I am doing wrong?

    Thanks for any hint.

  • None of our images include entware so you're not running LE and it's hard to comment on the state of whatever image you have. The locale add-on needs a reboot to effect the locale change.

  • Quote

    chewitt 6. Januar 2019

    Hat das Thema aus dem Forum General Support nach PVR & DVB Support verschoben

    Hm, I was quite sure this is a LE/locale using not a VDR problem.

    I managed to switch to German language support incl. special charcters with a start script:

    Display Spoiler

    #!/bin/sh

    export LANGUAGE=de_DE

    export LANG=de_DE.UTF-8

    export LC_ALL=de_DE.UTF-8

    /opt/bin/perl /storage/.kodi/addons/service.vdradmind/vdradmind.pl.utf8 -n -l 7 -L /tmp/vdradmin.log

    But it is not working if I call this script in the sytemd service, language is German but without special character support:

    Display Spoiler

    ...

    [Service]

    ExecStart=/storage/.kodi/addons/service.vdradmind/vdradmind.start

    ...