Skip to content

Commit b90a03d

Browse files
authored
Update README.md
1 parent 8df66ae commit b90a03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ composer require peterujah/php-google-translator
1919
Initalize with page languages
2020
```php
2121
use Peterujah\NanoBlock\GTranslator;
22-
$translate = new GTranslator(substr(($_SERVER['HTTP_ACCEPT_LANGUAGE']??"en"), 0, 2), "/assets/flags/");
22+
$translate = new GTranslator("en", "/assets/flags/");
2323
```
2424

2525
Or with icon path

0 commit comments

Comments
 (0)