Skip to content

Commit

Permalink
Merge pull request #14 from jetwes/main
Browse files Browse the repository at this point in the history
added german language
  • Loading branch information
rmunate authored Sep 11, 2023
2 parents 1483230 + 84d0e66 commit 52ddb82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Langs/Langs.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ final class Langs
* @var array
*/
public const LOCALES = [
'de', // German from Germany
'en', // English from the United States
'es', // Spanish from Spain
'pt', // Portuguese from Portugal
Expand All @@ -29,6 +30,7 @@ final class Langs
* @var array
*/
public const LOCALES_CONNECTORS = [
'de' => 'und', // German from Germany: "und"
'en' => 'and', // English from the United States: "and"
'es' => 'con', // Spanish from Spain: "con"
'pt' => 'com', // Portuguese from Portugal: "com"
Expand All @@ -46,6 +48,7 @@ final class Langs
* @var array
*/
public const LOCALES_CONNECTORS_MONEY = [
'de' => 'von', // German frm Germany: "von"
'en' => 'of', // English from the United States: "of"
'es' => 'de', // Spanish from Spain: "de"
'pt' => 'de', // Portuguese from Portugal: "de"
Expand Down
3 changes: 3 additions & 0 deletions src/Miscellaneous/Replaces.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ final class Replaces
* Replacements where the currency needs to be defined at the end.
*/
private const MONEY_LOCALE_CASE = [
'de' => [
'illion' => 'illion Von',
],
'en' => [
'illion' => 'illion Of',
],
Expand Down

0 comments on commit 52ddb82

Please sign in to comment.