feat: add export formats Apple SDK and Android SDK#184
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughTwo new localization file formats, APPLE_SDK and ANDROID_SDK, were added to the supported formats across the schema, type definitions, and command-line options. The mapping utilities were updated: export mapping now supports these formats with their respective message formats, while import mapping explicitly rejects them with clear errors. ChangesFormat Support Extension
Sequence Diagram(s)sequenceDiagram
participant CLI
participant mapExportFormat
participant Result
CLI->>mapExportFormat: export(format)
alt format is "APPLE_SDK"
mapExportFormat-->>Result: { format: "APPLE_SDK", messageFormat: "APPLE_SPRINTF" }
else format is "ANDROID_SDK"
mapExportFormat-->>Result: { format: "ANDROID_SDK", messageFormat: "JAVA_STRING_FORMAT" }
else other formats
mapExportFormat-->>Result: mapped format object
end
sequenceDiagram
participant CLI
participant mapImportFormat
participant Error
CLI->>mapImportFormat: import(format)
alt format is "APPLE_SDK" or "ANDROID_SDK"
mapImportFormat->>Error: throw InvalidArgumentError("Import not supported")
else other formats
mapImportFormat-->>CLI: return mapped format
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
10356c6 to
bcbf8c2
Compare
# [2.18.0](v2.17.0...v2.18.0) (2026-06-15) ### Features * add export formats Apple SDK and Android SDK ([#184](#184)) ([8325426](8325426))
|
🎉 This PR is included in version 2.18.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Requires tolgee/tolgee-platform#3186
Summary by CodeRabbit
--formatoption.