Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /usr/share/locales/ |
Upload File : |
#!/bin/sh -e if [ -z "$1" ]; then echo "Usage: $0 <language code> <class> [<version>]" exit 0 fi # install locales for base packages (not for gnome/kde) if [ -z "$2" ]; then # Update requested locales if locales-all is not installed if dpkg-query -s locales-all >/dev/null 2>&1 ; then echo "locales-all installed, skipping locales generation" else /usr/sbin/locale-gen --keep-existing "$1" fi fi # ensure that .desktop caches are up to date dpkg-trigger gmenucache || true