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

Add ability to get metadata #15

Open
rmccue opened this issue Feb 24, 2023 · 0 comments · May be fixed by #19
Open

Add ability to get metadata #15

rmccue opened this issue Feb 24, 2023 · 0 comments · May be fixed by #19

Comments

@rmccue
Copy link

rmccue commented Feb 24, 2023

Hi there! Thanks for the great library :)

I'm working on a project right now that involves replacing an existing gettext implementation, and in order to do so, I need to be able to effectively export parts of the .mo data; namely, I need to be able to pull the Plural-Forms metadata back out verbatim.

parse_catalog calls out to parse_metadata(), but the map value is discarded once the charset and plural forms are read out; rather than calling parse_metadata() manually again later, I think it would make sense to store the map in the Catalog struct?

(I can PR this if you're interested!)

@rmccue rmccue linked a pull request Oct 27, 2023 that will close this issue
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 a pull request may close this issue.

1 participant