/usr/bin/speakup_setlocale is in speakup-tools 1:0.0~git20121016.1-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #!/bin/sh
echo "List of languages"
echo "1 Canadian English"
echo "2 Français UTF8"
echo "3 Français ISO-8859-1"
echo -n "Choose the language "
read r
case $r in
1)
cp /usr/share/speakup-tools/locales/en_CA/* /sys/accessibility/speakup/i18n
speakupconf save
;;
2)
cp /usr/share/speakup-tools/locales/fr/* /sys/accessibility/speakup/i18n
speakupconf save
;;
3)
(
cd /usr/share/speakup-tools/locales/fr
for i in *
do
iconv -f UTF-8 -t latin1 < $i > /sys/accessibility/speakup/i18n/$i
done
)
speakupconf save
;;
*)
esac
exit 0
|