-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
codegen: android-xmlCodegen from Android String Resources conversion issueCodegen from Android String Resources conversion issueenhancementNew feature or requestNew feature or request
Description
It is a common practice to embed elements like this in string files to provide clues to translators:
<string name="time_range_format"><xliff:g id="startTime" example="1:30 PM">%1$s</xliff:g> - <xliff:g id="endTime" example="3:30 PM">%2$s</xliff:g></string>
But the xml processor does not support them and gives an error:
[ksp] com.gitlab.mvysny.konsumexml.KonsumerException: line 11 column 80 at null file:///Users/dalewking/Downloads/Foo/composeApp/src/strings/values-it/strings.xml, in element : Expected text but got START_ELEMENT: {urn:oasis:names:tc:xliff:document:1.2}g
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
codegen: android-xmlCodegen from Android String Resources conversion issueCodegen from Android String Resources conversion issueenhancementNew feature or requestNew feature or request