We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b90a03d commit f306eb8Copy full SHA for f306eb8
README.md
@@ -25,7 +25,7 @@ $translate = new GTranslator("en", "/assets/flags/");
25
Or with icon path
26
```php
27
use Peterujah\NanoBlock\GTranslator;
28
-$translate = new GTranslator(substr(($_SERVER['HTTP_ACCEPT_LANGUAGE']??"en"), 0, 2));
+$translate = new GTranslator("en", 0, 2));
29
```
30
31
set selector design provider, you can choose between `DEFAULT`, `SELECT` or `BOOTSTRAP.`
0 commit comments