For single language translation, we prefer to use Loco Translate plugin.
From the Loco Translate > Plugins menu, click on the plugin name for setting up the translations.
Choose the language you want to translate. Then search for the text which needs to be translated and insert the translation text.
WPML is one of the most popular plugins for multiple language translation. Using WPML, the plugin strings can be changed for different languages.
Translate both Admin panel and user frontend view calendar’s timepicker.
Get the available Language translation files list from Flatpicker’s official website or directly navigate to the language files list with the country code short form from here.
Pick the correct filename from the list.
As for example, Arabic language file is ar.ts, Austria language file is at.ts etc.
Make sure of the correct file by clicking on the file name i.e. ar.ts and at the starting of the file, confirms the language.
Copy the codes from the page and save them in a file with the same name i.e. ar.js for the Arabic language file. Then move the file inside the plugin directory > assets > js > local directory.
Then add the language from the Plugin folder > core > settings>part> key-options.php file by adding the language into the language array.
Make sure the language short form is the same as the file name without the .js extension.
Finally, the language should appear in the WpCafe > Settings menu.