-
Notifications
You must be signed in to change notification settings - Fork 69
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
Improvement: replace {{...}} #29
Comments
Yes, the fact that there are so many, and that they are different in each regional wiktionary and that they should be replaced depending on dictionary language makes this very problematic. |
Are you aware of these scripts to dump Wiktionary into ding format? |
We probably should make lists of template replacement. Somme examples:
I'll be glad help for french language. Example "S" template, used in titles : {{S|(.)(|.)+}}
This website is great to make easy tests: https://regex101.com/#python some automatic test would be great to make sure we can maintain it |
Now that I see it written, I also have a concern that the replacement must be done in a way that it's clear it's not actually part of the translation or so itself, since the user might not know some of those words in the language they are translating to. |
Some templates are only for cosmetics, some are for "inclusion" (to include content from a template or sub-page), some are internal links, some are external links. Here is an article with an extensive usage of templates (63!): But when talking about internal (inside wiktionary in same or different language) links, you may want to create an articulation with currently installed dictionaries in user's smartphone, but I have no ideas how to handle this. |
It would be nice if this could at least include conjugations, which is one of the main things I use Wiktionary for. |
Sorry for necro-responding but (1) QuickDic was recently updated on F-droid and (2) the wikionary formatting is somewhat annoying so while looking for a way to make it better I stumbled against this issue and above comment and it looks quite awesome. While having full-blown dictionary with translation is great, having readable simple dictionary. |
Big table of wiki markup parsers: https://www.mediawiki.org/wiki/Alternative_parsers |
Let's replace the
{{...}}
to make a better dictionary, and easier readingFor example:
{{T|en}}
becomes a little English flag ({{T|...}}
mean traduction in ...){{trad+|en|coach}}
becomes 'coach' and maybe it is possible to add a link to this word in an English dictionary{{S|...}}
is a new section, some formatting could ease readingRessources:
The text was updated successfully, but these errors were encountered: