Learn how to implement multi-language in Lightning Web Components (LWC) using custom labels and translations via the Setup page and Tooling API.
Custom labels can be created from the setup page and apex code.
Go to setup → Search for Custom Labels and Select Custom Labels.


Open the newly created label and click “New” in the Translation section. Select language, add translation value, and save.
Custom Labels are records of the standard object called External String and translations are stored in its child object named external String Localisation. Both can be accessed from the Tooling API.

Sample Request Body:

Sample Response Body:
response.getBody() will return the following response with custom label Id.


Sample Request Body:

Another salesforce standard Functionality Translation workbench can be used for providing translations for Custom fields, Actions, Lightning page Tabs, Picklist values, etc...
Now you have learned about how to create custom labels. Use the link below to Know about next step of How to import custom labels in Lightning web components