You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am using $responseArray = $tr->getResponse('こんにちは') to get romaji/tranliteration of Japanese text. Bur when dealing with html tag, the transliteration of the tag will be messed up. So can I use preserveParameters() to do this job cleanly?
No it only works with parameters for injecting strings. Params like :this or {{this}} or any regex that doesn't get messed up by Google Translate. HTML tags are not supported. There is a pinned issue (#23) about that topic
Could the
preserve Parameters()
be used to get transliteration of the text?The text was updated successfully, but these errors were encountered: