mdpo
mdpo copied to clipboard
Markdown files translation using GNU PO files.
If I put a `` HTML comment before link reference definitions, these are included as well in the resulting PO file.
This would allow to use the tools without needing to install Python environments. Should be feasible with [Pyinstaller](https://pyinstaller.org/en/stable/).
If I remove or disable link reference definitions from the source Markdown file, these are not marked as obsoletes in the new version of the PO file.
Looks like possible and should improve performance. See https://launchpad.net/pygettextpo - [x] How to know if `libgettextpo` is available? Run `ctypes.util.find_library("gettextpo")` in `setup.py`. If returns `None` is not available. To read...
Just realized that locations like `/file/to/path.md:block 2 (unordered list)` are not parseable by standard PO parsers. These programs usually expect that the content after `:` is a string without spaces,...
If you've state for a custom command in a class must be reset for each file, so add these custom events: - `parse` (execute before the parsing and allow to...
This is the default value used by Prettier and markdownlint.
Consider the following `test.md` file: ```markdown Text with [link1] and [link2]. [LINK1]: example.com [link2]: example.com ``` `md2po test.md` gives the following `msgid`: ```po msgid "Text with [link1][LINK1] and [link2][LINK1]." ```...
### Use `md2po2md` and submit changes in pull requests - [ ] Add a real usage example with the README of this project in GitHub workflows installing `mdpo`, running it...
I've just found that the Github API documentation has an error in the Spanish translation. See it at https://docs.github.com/es/developers/apps/building-oauth-apps/scopes-for-oauth-apps: ![image](https://user-images.githubusercontent.com/23049315/210812712-56794334-3352-43e2-ad4b-5042d1d679d4.png) ![image](https://user-images.githubusercontent.com/23049315/210812810-af19ba97-e93f-45bc-a0e1-42d236279eee.png) I'm not sure how they are creating the documentation,...