SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Helpers/Locales/LocaleInfoDEU.php

  1. <?php
  2. /*
  3.  * Copyright (C) 2017 Karmabunny Pty Ltd.
  4.  *
  5.  * This file is a part of SproutCMS.
  6.  *
  7.  * SproutCMS is free software: you can redistribute it and/or modify it under the terms
  8.  * of the GNU General Public License as published by the Free Software Foundation, either
  9.  * version 2 of the License, or (at your option) any later version.
  10.  *
  11.  * For more information, visit <http://getsproutcms.com>.
  12.  */
  13.  
  14. namespace Sprout\Helpers\Locales;
  15.  
  16.  
  17. /**
  18.  * Locale info for Germany; see {@see LocaleInfo}
  19.  */
  20. class LocaleInfoDEU extends LocaleInfo
  21. {
  22. protected $state_list = [
  23. 'BB' => 'Brandenburg',
  24. 'BE' => 'Berlin',
  25. 'BW' => 'Baden-Württemberg',
  26. 'BY' => 'Bayern',
  27. 'HB' => 'Bremen',
  28. 'HE' => 'Hessen',
  29. 'HH' => 'Hamburg',
  30. 'MV' => 'Mecklenburg-Vorpommern',
  31. 'NI' => 'Niedersachsen',
  32. 'NW' => 'Nordrhein-Westfalen',
  33. 'RP' => 'Rheinland-Pfalz',
  34. 'SH' => 'Schleswig-Holstein',
  35. 'SL' => 'Saarland',
  36. 'SN' => 'Sachsen',
  37. 'ST' => 'Sachsen-Anhalt',
  38. 'TH' => 'Thüringen',
  39. ];
  40. }
  41.