lingo.dev icon indicating copy to clipboard operation
lingo.dev copied to clipboard

Add support for XML file format

Open vrcprl opened this issue 2 years ago • 3 comments

What

Implement a loader for XML files in Replexica.

Why

To support developers and enterprise systems using XML for cross-platform applications.

How

  1. Create a new loader in packages/cli/src/loaders/xml.ts
  2. Implement parsing logic for XML structure
  3. Add two unit tests in packages/cli/src/loaders/index.spec.ts:
    • Test parsing a simple XML file
    • Test handling plurals in XML entries
  4. Update @replexica/spec to include XML format
  5. Generate a changeset using pnpm new for both 'replexica' and '@replexica/cli' packages
  6. In the pull request, include a link to the XML specification used.

After completing the task

Noticed a file format Replexica doesn't yet support? Please create a new GitHub ticket (if it doesn't yet exist!), using the format/structure of this GitHub issue.

vrcprl avatar Nov 04 '24 19:11 vrcprl

@maxprilutskiy raised PR for this one

partik03 avatar Nov 06 '24 18:11 partik03

@maxprilutskiy we can close this one

partik03 avatar Nov 12 '24 07:11 partik03

Resolved in #298

maxprilutskiy avatar Nov 12 '24 07:11 maxprilutskiy