Jump to content

User talk:HaeBot

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 10 years ago by Tbayer (WMF) in topic Code

Afrikaans | العربية | অসমীয়া | asturianu | azərbaycanca | Boarisch | беларуская | беларуская (тарашкевіца) | български | ပအိုဝ်ႏဘာႏသာႏ | বাংলা | བོད་ཡིག | bosanski | català | کوردی | corsu | čeština | Cymraeg | dansk | Deutsch | Deutsch (Sie-Form) | Zazaki | ދިވެހިބަސް | Ελληνικά | emiliàn e rumagnòl | English | Esperanto | español | eesti | euskara | فارسی | suomi | français | Nordfriisk | Frysk | galego | Alemannisch | ગુજરાતી | עברית | हिन्दी | Fiji Hindi | hrvatski | magyar | հայերեն | interlingua | Bahasa Indonesia | Ido | íslenska | italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Qaraqalpaqsha | kar | kurdî | Limburgs | ລາວ | lietuvių | Minangkabau | македонски | മലയാളം | молдовеняскэ | Bahasa Melayu | မြန်မာဘာသာ | مازِرونی | Napulitano | नेपाली | Nederlands | norsk nynorsk | norsk | occitan | Kapampangan | Norfuk / Pitkern | polski | português | português do Brasil | پښتو | Runa Simi | română | русский | संस्कृतम् | sicilianu | سنڌي | Taclḥit | සිංහල | slovenčina | slovenščina | Soomaaliga | shqip | српски / srpski | svenska | ꠍꠤꠟꠐꠤ | ślůnski | தமிழ் | тоҷикӣ | ไทย | Türkmençe | Tagalog | Türkçe | татарча / tatarça | ⵜⴰⵎⴰⵣⵉⵖⵜ  | українська | اردو | oʻzbekcha / ўзбекча | vèneto | Tiếng Việt | 吴语 | 粵語 | 中文(简体) | 中文(繁體) | +/-

Welcome to Meta!

[edit]

Hello, HaeBot. Welcome to the Wikimedia Meta-Wiki! This website is for coordinating and discussing all Wikimedia projects. You may find it useful to read our policy page. If you are interested in doing translations, visit Meta:Babylon. You can also leave a note on Meta:Babel or Wikimedia Forum (please read the instructions at the top of the page before posting there). Happy editing!

-- Meta-Wiki Welcome (talk) 23:21, 15 August 2012 (UTC)Reply

Code

[edit]

It's very nice that you found a way to import old translations in the new system automatically, saving so much time to translators. I hope you can share something about it at some point, however rough it may be. Thank you very much, Nemo 12:27, 21 August 2012 (UTC)Reply

Yes, I'm planning to release the code somewhere eventually, but indeed needs cleanup - feel free to remind me a few weeks from now.
Basically, the importer is a Python script that takes the source text and applies quite a few regexes to remove extranenous formatting and separate the text into translation units, then rearranges them according to a multivalued (beause some translated text may be reused in several translation units) mapping, arriving at an output file that is then fed into a slightly modified version of pagefromfile.py. Regards, Tbayer (WMF) (talk) 23:29, 25 August 2012 (UTC)Reply
Hello Tbayer (WMF), as you know we're now working on this, so it would be nice if you could email the unpolished code to BPositive by June 7. I'm not sure how much effort we'll be able to spend on the markup cleanup and page preparation/tagging, but if you already have a set of regexes it would be silly not to try them. :) --Nemo 15:40, 31 May 2014 (UTC)Reply
Done, hope it can be of some use! Thank you for helping to move that project along. Regards, Tbayer (WMF) (talk) 18:56, 7 June 2014 (UTC)Reply
Hi HaeBot ! Congratulations for your work but we would appreciate accented vowels instead of strings, in French, unless you tell us how to change them automatically. Thanks. --Cquoi (talk) 15:16, 25 August 2012 (UTC)Reply
Hi Cquoi, I assume you are talking about HTML entities such as "è" for "è". I agree that they are a bit harder to read in the source wikitext, but they actually display fine both here on Meta and in Qualtrics (the survey platform we are using), so I didn't include code to convert them from the import source this time, and you don't need to convert them manually.
Regards, Tbayer (WMF) (talk) 23:29, 25 August 2012 (UTC)Reply