We encountered a use case in pkgdown where we wanted to extract information (e.g. Language-Team) from package *.po files to build a table of available languages in a vignette.
But because only the compiled *.mo files are available in an installed package, we decided it was too fiddly to implement "uncompile()" (perhaps there is a better name) to decompress the *.mo files on the fly with msgunfmt. I might have considered it if it were already implemented in potools, hence the issue.
I also wonder if there is an alternative to this issue that I'm missing?
We encountered a use case in pkgdown where we wanted to extract information (e.g.
Language-Team) from package *.po files to build a table of available languages in a vignette.But because only the compiled *.mo files are available in an installed package, we decided it was too fiddly to implement "
uncompile()" (perhaps there is a better name) to decompress the *.mo files on the fly withmsgunfmt. I might have considered it if it were already implemented in potools, hence the issue.I also wonder if there is an alternative to this issue that I'm missing?