Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
JBlond committed Jul 21, 2020
1 parent b66291a commit 7afd0a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ require '../vendor/autoload.php';
$langCode = 'de_DE';
putenv("LC_ALL=$langCode.UTF-8");
if (setlocale(LC_ALL, "$langCode.UTF-8") === false) {
sprintf('Language Code %s not found', $langCode);
echo sprintf('Language Code %s not found', $langCode);
}

// set the path to the translation
Expand Down
2 changes: 1 addition & 1 deletion example/example.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$langCode = 'de_DE';
putenv("LC_ALL=$langCode.UTF-8");
if (setlocale(LC_ALL, "$langCode.UTF-8") === false) {
sprintf('Language Code %s not found', $langCode);
echo sprintf('Language Code %s not found', $langCode);
}

// set the path to the translation
Expand Down

0 comments on commit 7afd0a7

Please sign in to comment.