tolgee-platform
tolgee-platform copied to clipboard
tolgee pull does not keep plurals format in Compose XML
Here is my .tolgeerc
{
"$schema": "https://docs.tolgee.io/cli-schema.json",
"projectId": ****,
"format": "COMPOSE_XML",
"patterns": ["./src/**/*.kt"],
"push": {
"filesTemplate": "./src/commonMain/composeResources/values-{languageTag}/strings.xml",
"language": ["en"]
},
"pull": {
"path": "./src/commonMain/composeResources"
}
}
And the strings.xml plurals:
<plurals name="folder_folder_count">
<item quantity="one">%1$d Folder</item>
<item quantity="other">%1$d Folders</item>
</plurals>
After push then pull tolgee, all %1$d become %d for no reason.
<plurals name="folder_folder_count">
<item quantity="one">%d Folder</item>
<item quantity="other">%d Folders</item>
</plurals>
This syntax works on Android XML but not Compose Multiplatform XML. Please fix it. Thank you.
This is an export issue, so I'll move this to tolgee platform
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.