Closed Shun-Ibiki closed 2 weeks ago
I didn't understand what you mean. Can you explain?
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?