Google(R) Translate
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.
Citar como
Michael Katz (2024). Google(R) Translate (https://www.mathworks.com/matlabcentral/fileexchange/23988-google-r-translate), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Data Import and Analysis > Data Import and Export > Web Access and Streaming > Web Services >
- MATLAB > External Language Interfaces > Other languages > Google >
- MATLAB > Language Fundamentals > Data Types > Characters and Strings > String Parsing >
Etiquetas
Agradecimientos
Inspirado por: (another) JSON Parser
Inspiración para: Translate strings from one language to another
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.