You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This file uses MATLAB(R)'s web services with Google's AJAX Language Translation API to take one string and translate it to anther:
For example to translate a string to Sweedish:
>> gtranslate('Good morning Mr. Peterson, how is your cat?','sv')
ans =
God morgon Mr Peterson, hur är din katt?
You can specify source (default is English) and destination languages using the two-letter http://en.wikipedia.org/wiki/ISO_639-1 codes.
Note that the default character encoding may make some languages (Russian, Japanese, etc) unrenderable.
Cite As
Michael Katz (2026). Google(R) Translate (https://au.mathworks.com/matlabcentral/fileexchange/23988-google-r-translate), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: (another) JSON Parser
General Information
- Version 1.3.0.1 (3.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
