summaryrefslogtreecommitdiffstats
path: root/solenv/bin/localestr
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/localestr')
-rwxr-xr-xsolenv/bin/localestr20
1 files changed, 20 insertions, 0 deletions
diff --git a/solenv/bin/localestr b/solenv/bin/localestr
new file mode 100755
index 0000000000..c66d40cbfd
--- /dev/null
+++ b/solenv/bin/localestr
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case "$1" in
+ ca-valencia)
+ echo ca@valencia
+ ;;
+ kmr-Latn)
+ echo kmr@latin
+ ;;
+ sr-Latn)
+ echo sr@latin
+ ;;
+ hu-Hung)
+ echo hu@hung
+ ;;
+ *)
+ echo $1 | tr '-' '_'
+ ;;
+esac
+