From 646dce7765b36afab5c1688c51ebab48a214864e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 22 Aug 2020 20:01:59 +0200 Subject: composer update pear/text_languagedetect --- vendor/pear/text_languagedetect/docs/iso.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vendor/pear/text_languagedetect/docs/iso.php (limited to 'vendor/pear/text_languagedetect/docs/iso.php') diff --git a/vendor/pear/text_languagedetect/docs/iso.php b/vendor/pear/text_languagedetect/docs/iso.php new file mode 100644 index 000000000..547316313 --- /dev/null +++ b/vendor/pear/text_languagedetect/docs/iso.php @@ -0,0 +1,19 @@ +setNameMode(2); +echo $ld->detectSimple('Das ist ein kleiner Text') . "\n"; + +//will output the ISO 639-2 three-letter language code +// "deu" +$ld->setNameMode(3); +echo $ld->detectSimple('Das ist ein kleiner Text') . "\n"; +?> -- cgit v1.2.3