Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding multi-locale support, clarifying documentation, and expanding … #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

capncodewash
Copy link

…tests.

This pull request does a few things:

  • Adds the ability to process TMX files with more than two locales. It therefore also restructures the resulting DataFrame columns. There is no longer the concept of a 'source' and 'target' locale inside the DataFrame itself - each column is named after the locale code, and these columns contain the corresponding content. This means the DataFrame is 'narrower'. You can still get information about the source locale from the 'metadata' object.
  • Clarifies the readme file (the example import statement didn't work).
  • Adds an additional test to check the multi-locale support.
  • Adds the ability to deal with elements containing complex content, not just plain text. This is a bit crude just now, but it allows us to deal with text containing placeholder tags and so on.

Thanks for your work in creating this very useful project, Jade!

Graeme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant