aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/pear/text_languagedetect/docs/languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/pear/text_languagedetect/docs/languages.php')
-rw-r--r--vendor/pear/text_languagedetect/docs/languages.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/pear/text_languagedetect/docs/languages.php b/vendor/pear/text_languagedetect/docs/languages.php
new file mode 100644
index 000000000..f6d022c22
--- /dev/null
+++ b/vendor/pear/text_languagedetect/docs/languages.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * List all supported languages
+ */
+require_once 'Text/LanguageDetect.php';
+$ld = new Text_LanguageDetect();
+
+foreach ($ld->getLanguages() as $lang) {
+ echo $lang . "\n";
+}
+?>