+ Start a Discussion
Ramana VRamana V 

English data validation check in LWC

Hi All,
I have account created basic account creation page in LWC. If I have entered address in any other language other than English then I want to put some validation method in LWC to check that the address is entered in other language. Can someone help me, how to check this.

Thanks in Advance
ANUTEJANUTEJ (Salesforce Developers) 
Hi Ramana,

I have not found any such validations but when I checked as per the documentation: https://developer.salesforce.com/docs/component-library/bundle/lightning-input-field/documentation It is stated that "In orgs that support multiple languages, lightning-input-field automatically shows the translated labels and picklist values." I hope this helps and in case if this comes handy can you please choose this as best answer so that it can be used by others in the future.

Ramana VRamana V
Hi Anutej
Thanks for your response.
But this is not matching with my requirement. Lets say, if user entered billing street in Japanees then I should alert user that they entered in different language.