Is there any way to change the used language in the above mentioned component dropdown?
adding lang="DE" for german language did not work:
<div class="p-field p-col-12 p-md-6">
<h7>Festnetz</h7>
<pe:inputPhone id="festnetz" label="Hallo" lang="DE"
initialCountry="#{kontakt.countryIsoFestnetz}"
value="#{kontakt.festnetz}" formatOnDisplay="true">
<p:ajax event="countrySelect"
listener="#{kontakt.onCountrySelectFestnetz}" />
</pe:inputPhone>
</div>
PrimeFaces Extensions 12.0.2 and up
Since PrimeFaces Extensions 12.0.2 you can use the
localizedCountriesto do so. You can either supply aMap<String, String>containing the ISO 2 abbreviation (lower case) (key), and the name (value):or a JSON string:
See also: