[06:30:24] I'm wondering about non-Western style numerals as in https://www.mediawiki.org/wiki/Manual:$wgTranslateNumerals I'm wrapping wiki table cell contents in tags and in the case of integers it seems silly. I guess there is no way to automatically localise numerals in the page content as opposed to the UI? Or should I just leave them out of [06:30:24] translation completely, ie. is this uncontroversial? [06:31:07] (I use a Python script to help with adding the tags) [06:44:51] buovjaga: I think if you put the numbers as {{formatnum:1234}} they will automatically get translated (even if outside of the tag) [06:45:19] Thanks a lot, I will try it. This is in context of LibreOffice Calc function examples [06:45:46] formatnum: will also add commas though if the number is more than 3 digits [06:46:42] buovjaga: you can do {{formatnum:1234567|NOSEP}} to translate the digits but not add commas [06:47:10] hmm, but looks like it is archived https://www.mediawiki.org/wiki/Extension:FormatNum [06:47:31] The extension is unrelated [06:48:01] {{formatnum:...}} is part of core https://www.mediawiki.org/wiki/Help:Magic_words#Formatting [06:48:19] ok gotcha [06:48:51] nice that it supports decimals as well [08:58:34] My updated Python script for wikitable cell content translation: https://paste.simplylinux.ch/view/88d7bd1a I use it with a txt file as scratchpad, python wikitabletranslate.py wikitable.txt [09:02:12] (it only expects a single table in the file and nothing else) [09:20:03] Hmm, might try to make it more general later today, so it would work with a full wiki article with multiple tables. [10:35:08] Nice, was way easier than I thought. Now I can just use a full wiki article: https://paste.simplylinux.ch/view/d3e32cce