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