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 when copying layout XML with the plugin and pasting it into code, we will translate the whole file and paste the whole translation. That's of course not right and we need to look at the actual selection using startOffsets and endOffsets.
Of course using the selection means we may get incomplete XML or multiple "root" nodes. I am not sure what XMLPullParser will do with that. We may need to "fix up" the XML before processing it. Or manually reduce the selection to a valid XML subset.
The text was updated successfully, but these errors were encountered:
pocmo
added
bug
Something isn't working
plugin
Issues about the IntelliJ IDEA / Android Studio plugin.
labels
Sep 15, 2020
Currently when copying layout XML with the plugin and pasting it into code, we will translate the whole file and paste the whole translation. That's of course not right and we need to look at the actual selection using
startOffsets
andendOffsets
.Of course using the selection means we may get incomplete XML or multiple "root" nodes. I am not sure what
XMLPullParser
will do with that. We may need to "fix up" the XML before processing it. Or manually reduce the selection to a valid XML subset.The text was updated successfully, but these errors were encountered: