Interface LocalizedString

All Known Implementing Classes:
LocalizedStringImpl

public interface LocalizedString

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

{
    "de": "Hundefutter",
    "en": "dog food"
  }
  

Example to create an instance using the builder pattern

     LocalizedString localizedString = LocalizedString.builder()
             ./^[a-z]{2}(-[A-Z]{2})?$/("{/^[a-z]{2}(-[A-Z]{2})?$/}")
             .build()