NODE_GOOGLE_TRANSLATE
NODE_GOOGLE_TRANSLATE copied to clipboard
Readme Suggestion
Under translate(text, options), the following changes can make the reading smoother.
text
Type: string
, object
, array
The text to be translated
options
Type: object
from
Type: string
Default: auto
Description: The text
language. Must be auto
or one of the codes/names (not case sensitive) contained in languages.js
to
Type: string
Default: en
Description: The language in which the text should be translated. Must be one of the codes/names (not case sensitive) contained in languages.js.
except
Type: array
Default:[]
Description: Attributes in excluded objects do not participate in translation
(This is my assignment to modify the public technical writing, thank you for taking your time.)