Hi Fletcher, thanks so much for your reply. Here are examples in which I
made a text file with inline footnotes and used the mmd2rtf.bat to change
it to an rtf file. Does this answer your questions accurately? Thanks
again. Best, John
I have a "language challenge" with footnotes. When I translate a md-file to html, a footnote tilte "see footnote" is set. That is nice but in a German text, I´d prefer a German title. Is there an option to select an "output language for added text"?
fletcher on 01 Dec, 2016 01:59 PM
There is not currently an option for this, but I think it's a good idea.
I looked briefly at localization options for this after seeing your
message, and it looks like the best "standard" is using
[gettext](https://www.gnu.org/software/gettext/) to handle localizing
the source code. The problem is that, like much of the other GNU
software, gettext is a rather bloated package that would introduce large
dependencies in MMD (after I and others worked so hard to get rid of them).
So, if I were to do something like this, I would need to develop a
flexible, efficient approach to translating strings into multiple
languages. Ideally it would use the gettext file formats (e.g. the
`.po` files) and build the data into the binary so there are no external
I *might* support this in the future, but for now your best option is to
modify the source code and compile your own german version of MMD with
your desired changes. You would only need to modify a few lines in the
`html.c` file (or `latex.c`, etc).
fletcher on 19 Jan, 2017 10:19 PM
I have started working on a rudimentary internationalization
package for MMD 6. It is on the feature/localization
The file of importance is i18n.h. Basically, there
is one array of strings, and there is one copy of each string per
available language. English is the default (0). I have one rough
translation for one string in Spanish put in there.
I need help with two things:
Which strings are important to handle in this way?
Translations for the strings.
Later I will probably create a tool to simplify this process a
bit, but for now will do it manually.