All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en_MS.address.conf Maven / Gradle / Ivy

The newest version!
address {
  postal-code-string = "#####"
  postal-code-builder = {options = [{parts = [{type = "string-part", value = ${address.postal-code-string}}]}]}
  default-countries = [{code = "MS", name = "Malaysia"}]
  city-builder = {
    options = [
      {parts = [{type = "seq-string-part", value = [Subang Jaya, Kuala Lumpur, Johor Bahru, Ipoh, Klang, Seberang Perai, Ampang, Georgetown, Gombak, Kuching, Shah Alam, Seremban, Petaling Jaya, Cheras, Bandaraya Melaka, Kota Bharu, Kota Kinabalu, Kuantan, Sungai Petani, Kajang, Batu Pahat, Tawau, Sandakan, Alor Setar, Kuala Terengganu, Taiping, Miri, Kluang, Kulim, Selayang, Kulai, Sibu, Muar, Manjung, Perlis, Kubang Pasu, Sepang, Teluk Intan, Lahad Datu, Kota Tinggi, Segamat, Pasir Mas, Bintulu, Alor Gajah, Kerian, Batang Padang, Keningau, Kemaman, Temerloh, Kuala Kangsar, Pontian, Dungun, Tumpat, Kinabatangan, Besut, Semporna, Ledang, Baling, Jasin, Bachok, Papar, Penampang, Tanah Merah, Bentong, Pasir Puteh, Jempol, Maran, Port Dickson, Rompin, Pekan, Kuala Krai, Beluran, Sabak Bernam, Tuaran, Perak Tengah, Bera, Marang, Ranau, Raub, Pendang, Langkawi, Kota Belud, Machang, Serian, Hulu Perak, Jerantut, Gua Musang, Lipis, Samarahan, Labuan, Kudat, Tampin, Putrajaya, Hulu Terengganu, Mersing, Yan, Kota Marudu, Sik, Sri Aman, Beaufort, Kuala Pilah, Marudi, Kuala Nerang, Kunak, Betong, Sarikei, Tenom, Kapit, Putatan, Setiu, Bau, Pokok Sena, Limbang, Saratok, Rembau, Mukah, Bandar Baharu, Jeli, Simunjan, Jelebu, Pitas, Cameron Highlands, Lawas, Tambunan, Tongod, Belaga, Sipitang, Lundu, Nabawan, Asajaya, Daro, Tatau, Maradong, Kanowit, Lubok Antu, Selangau, Song, Kuala Penyu, Dalat, Matu, Julau, Pakan, Padawan, Lojing, Kampa, Muallim]}]}
    ]
  }
  states = [
    {type = "state", name = "Johor Darul Ta'zim", abbr = JHR, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Kedah Darul Aman", abbr = KDH, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Kelantan Darul Naim", abbr = KTN, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Malacca", abbr = MLK, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Negeri Sembilan Darul Khusus", abbr = NSN, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Pahang Darul Makmur", abbr = PHG, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Penang", abbr = PNG, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Perak Darul Ridzuan", abbr = PRK, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Perlis Indera Kayangan", abbr = PLS, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Sabah", abbr = SBH, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Sarawak", abbr = SWK, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Selangor Darul Ehsan", abbr = SGR, postal-code-builder = ${address.postal-code-builder}},
    {type = "state", name = "Terengganu Darul Iman", abbr = TRG, postal-code-builder = ${address.postal-code-builder}},
  ]
  building-numbers = ["##"]
  street-prefixes = [Jalan, Lorong, Pinggiran, Medan, Persiaran, Selekoh, Persisiran, Perkarangan, Pengkalan, Lurah, Lintang, Lingkungan, Lingkaran, Lengkung, Lengkok, Lebuhraya, Lebuh, Langgak, Laman, Halaman, Gerbang, Dataran, Bulatan, Laluan]
  street-titles = [Makmur, Bukit Bintang, Bangsar, Chow Kit, Hang Jebat, Hang Tuah, Kinabalu, Kuching, Maharajalela, Masjid India, Istana, Pudu]
  street-name-builder = {
    options = [
      {parts = [{type = "seq-string-part", value = ${address.street-prefixes}, suffix = " "}, {type = "seq-string-part", value = ${address.street-titles}}]}
    ]
  }
  street-address-builder = {
    options = [
      {
        parts = [
          {prefix = "No. ", type = "seq-string-part", value = ${address.building-numbers}, suffix = " "},
          {type = "string-builder-part", value = ${address.street-name-builder}}
        ]
      }
    ]
  }
  full-address-builder = {
    options = [
      {
        parts = [
          {type = "string-builder-part", value = ${address.street-address-builder}, suffix = ", "},
          {type = "string-builder-part", value = ${address.city-builder}, suffix = ", "},
          {type = "seq-state-abbr-and-zip-part", value = ${address.states}}
        ]
      },
      {
        parts = [
          {type = "string-builder-part", value = ${address.street-address-builder}, suffix = " "},
          {type = "seq-string-part", value = ${address.secondary-addresses}, suffix = ", "},
          {type = "string-builder-part", value = ${address.city-builder}, suffix = ", "},
          {type = "seq-state-abbr-and-zip-part", value = ${address.states}}
        ]
      }
    ]
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy