[07:43] good morning all [07:44] dpm: morning! [07:46] dpm: could you have a look at bug 659280? [07:46] Launchpad bug 659280 in poppler-data (Ubuntu) (and 3 other projects) "subject: Remove the string tags include Bitstream Vera、DejaVu inside in the setting file /etc/fonts/conf.avail/69-language-selector-zh-xy.conf where xy represents cn, hk, mo, sg and tw individually. (affects: 2) (heat: 38)" [Undecided,Confirmed] https://launchpad.net/bugs/659280 [07:48] hi happyaron, good morning. Just a few minutes, I need to reboot. brb... [07:50] :) [07:58] good morning again :) [07:58] :) [07:59] the bug I mentioned just now is bug 659280 [07:59] Launchpad bug 659280 in poppler-data (Ubuntu) (and 3 other projects) "subject: Remove the string tags include Bitstream Vera、DejaVu inside in the setting file /etc/fonts/conf.avail/69-language-selector-zh-xy.conf where xy represents cn, hk, mo, sg and tw individually. (affects: 2) (heat: 38)" [Undecided,Confirmed] https://launchpad.net/bugs/659280 [08:00] reading... [08:02] happyaron, so as far as I understand, there is no agreement in how to fix this? [08:02] no [08:03] there are two opinions: fix it by changing fontconfig configuration so PDFs can work, but typefaces would be uglier; wait to fix it in poppler-data and all other applications that does not work as expected. [08:05] happyaron, the thing is that we don't have a font expert anymore, and I'm not knowledgeable enough to propose a solution in this case. Right now, it is a bit difficult to follow with all the opinions. Do you think you could add a comment with a summary of the two alternatives, with pros and cons of each one? [08:06] dpm: I've tried to do that, but in fact the bug reporters are also arguing about which to choose on their forum. [08:07] you can only see few people write on that bug report because he's just a translator who summarize things on their forum. [08:08] I tried to read their forum posts, and they do not have an agreement either. personally I prefer to fix the problem in poppler-data, but unfortunately I cannot reproduce the bug in Debian so not sure whether I can forward it to Debian. [08:10] happyaron, still, I think you have a good overview on this. If someone who either does not speak Chinese or doesn't follow those forums would definitely get confused with all the current comments. I'm not saying it's the solution, but I think such a comment with a summary would help [08:12] dpm: okay, I'll make the summary. But I think it's really an issue to be fixed. As far as I know most research papers in Chinese cannot be rendered correctly due to this issue, either zh_CN or zh_TW. I don't know the situation about Japanese and Korean. [08:13] happyaron, is freeflying aware of this bug? [08:13] the special case in those research papers is they don't embed Chinese fonts to the PDF file, and our current settings cannot handle it at all. [08:13] dpm: not sure [08:14] I'll point it to him, but as I say, right now all the comments make it a bit confusing (and the title of the bug, especially). The clearer it is, the easier it will be for someone to fix [08:16] You've got a good understanding of the bug, do you think you could come up with a better title, e.g. "Cannot render PDFs without embedded fonts in Chinese and other languages" or something along the lines? [08:17] I'll try to make it clear for people who don't speak Chinese, but I failed to figure out why Debian works but Ubuntu does not (with same appearance on users experience, but not the same configuration files) [08:17] OK, let me try [08:19] thanks happyaron === Claudinux_ is now known as Claudinux === Claudinux_ is now known as Claudinux [09:28] dpm: done [09:28] We'd move one to seek an expert to solve the problem. [09:29] thanks happyaron, it looks much better now [09:29] I'll point freeflying to it too [09:29] :) [10:57] hi TLE, how are you doing? I sent you an e-mail about the language packs spec, have you had the chance to look at it? [11:32] dpm: personally I think we'd find someone knows about poppler and poppler-data [11:46] happyaron, I'll look into it, but I cannot promise anything. I'm not familiar with it and I don't know anyone who is [11:47] you might want to ask around in #ubuntu-devel or in #ubuntu-desktop [11:53] thanks [11:56] dpm: hallo [11:57] hey :) [11:57] yes I saw your email [11:57] I agree with you and it should just be done [11:58] I can handle it myself and I think I should have time to do it tomorrow [11:58] that sounds excellent, thanks [11:58] np [12:00] I'm looking forward to announcing this, it will address an important issue that hadn't been handled properly for a looong time. [12:00] great work [12:01] @dpm: what is this about? [12:06] andrejz, the language pack updates policy spec Kenneth has been working on -> https://blueprints.launchpad.net/ubuntu/+spec/ubuntutheproject-community-n-translations-training-sessions [12:12] cool [12:15] :) === dpm__ is now known as dpm_ [14:49] hi everyone, Translations training session starting in ~10 minutes, feel free to join in! [15:01] Hi everyone! [15:01] Welcome to the first ever Translations Training Session :) [15:01] we'll wait a couple of minutes to see if there are any late-comers [15:05] ok, let's get started [15:05] Let's see who's here, any new translators around? [15:07] ok, first of all, a few words about these sessions. [15:07] Here's how they will work: [15:07] We'll be running IRC sessions every two weeks, covering different topics on each one, all related to different aspects of translating Ubuntu. [15:08] The main goal is to help new translators giving them a quickstart on how to start contributing, [15:08] but we will also cover topics that can be of interest to more experienced translators or to people starting to create a new translation team. [15:09] As such, the range of topics will be broad. We've got a bunch of suggestions here: [15:09] https://wiki.ubuntu.com/Translations/Training/Suggestions [15:09] and I encourage you to add your own suggestions on that page, [15:09] so we can make this more personal and tailor the sessions to what you think it is important to know as a translator. [15:10] When we run out of topics, we can repeat them again, as there are always new translators willing to learn :) [15:10] Eventually, I'd like the resources created during these sessions (translations training projects in Launchpad, session logs, session outlines) to be useful for each local translation team [15:11] to reuse them to run sessions in their language [15:11] But enough introductory talk. Let's get started. [15:12] * What we'll learn today: we'll focus on describing and using the Launchpad Translations web interface, which is what you'll be using to translate Ubuntu [15:12] [15:12] The Translations Web UI [15:12] ----------------------- [15:12] Generally, you'd be going to http://translations.launchpad.net/ubuntu to translate your favourite distro [15:13] But today we'll be using a kind of a playground project in Launchpad, [15:13] so you can start playing around with translations and submitting data without the worry of sending or overwriting real translation data. [15:14] Here it is: [15:14] https://translations.launchpad.net/translations-training/trunk/+pots/translate-this [15:14] The Translations Training project [15:14] So if you all go there, we'll first start looking at all of the elements of the UI. [15:15] Go and click on the name of your language in that page, which should take you to the translatable messages. [15:15] For example in my case (Catalan), it takes me to: [15:15] https://translations.launchpad.net/translations-training/trunk/+pots/translate-this/ca/+translate [15:16] Once you are there, click at the little magnifier icon on the far left of the first translatable message. [15:16] It's the icon with a plus sign (+) on it. [15:17] If you cannot find it, don't worry, you can just go to the Catalan version here: [15:17] https://translations.launchpad.net/translations-training/trunk/+pots/translate-this/ca/1/+translate [15:17] Ok, so we're all set now, and we can start having a look at all the UI elements. [15:18] Here are the most important: [15:18] 1. The original English message. [15:18] That is the message on top, which says "My first ever translation". [15:19] This is the message you'll have to translate into your language. [15:19] We'll be calling this the original message or string (as in a string of characters), [15:19] and it will be always in English. [15:19] So you will in principle only need knowledge of English and the language you are trying to translate into [15:20] 2. The translators comment. [15:20] You'll see this text right below the original English message, next to a small info {i} icon. [15:20] These are messages that are written by developers to give additional information to translators as to the context of the message. [15:21] These are really useful to provide accurate translations, especially when the original text can be ambiguous [15:21] 3. Current translation. [15:21] Shown below the translators comment, this shows the current translation, if any, into the local language. [15:21] If there isn't any translation, it will show the text "(no translation yet)". [15:22] You'll see it's got a radio button, so that you can select the appropriate translation in case there are already translation suggestions (more on this below). [15:22] 4. Translation suggestions. [15:23] Right below the current translation, there is a space with radio buttons where translation suggestions (if any) are shown. [15:24] You will not see this if there haven't been any suggestions yet. [15:24] Translation suggestions are either translations that contributors have provided directly, or that have been found in other projects in Launchpad. [15:24] Launchpad is quite clever on this, and if it finds the same original message in any of the hosted projects, it will show it as a suggestion automatically for you. [15:25] meaning it will show the translations for the original message as a suggestion [15:26] Suggestions are quite a cool feature: they allow you to basically do "point and click" translation and save you a lot of work. [15:26] They will also allow you to ensure the quality of translations through review (more on this below). [15:27] You can also dismiss suggestions by ticking the "Dismiss all suggestions above" checkbox and committing the change by pressing the "Save & Continue" button. [15:27] 5. New translation. [15:27] This is the interesting part. [15:28] On this textbox you'll be able to submit your translations, which can be direct ones or suggestions - depending on the permissions of the translatable project and on your team membership. [15:28] It might show an expander at the end of it, which you can click in case you need to expand the text box to provide a longer translation [15:28] 6. Needs Review checkbox. [15:29] Right below the "New translation" text field, you'll see the "Someone should review this translation" checkbox. [15:29] You can use this to let reviewers look at your translations before they are accepted. [15:29] This is generally recommended for translation quality, as the reviewers will spot mistakes, typos and inconsistencies, and will help you getting translations right before they are released to users. [15:30] You will learn a lot from reviews, so I encourage you to get your translations reviewed by contacting the team responsible for your language [15:30] or to do reviews yourself [15:31] Ticking this checkbox and pressing the "Save & Continue" button will make your translations be submitted as suggestions, and applies only if you are already a member of a translation team. [15:31] If you are not yet, your translations will be submitted as suggestions always, without the need to tick that box. [15:32] As an example, you can see several suggestions, not yet reviewed and accepted, here: [15:32] https://translations.launchpad.net/translations-training/trunk/+pots/translate-this/ca/1/+translate [15:33] And here you can see a suggestion which has been reviewed and accepted: [15:33] https://translations.launchpad.net/translations-training/trunk/+pots/translate-this/ca/2/+translate [15:33] Notice how Launchpad properly credits both the translator and the reviewer. [15:34] 7. Source code reference. [15:34] Below the Needs Review checkbox you'll see a smaller text telling you where in the code for the program the string appears. [15:35] You shouldn't worry much about that, but in some cases, [15:35] this can be really useful to find out which file the string belongs to, or it might give you a hint to what kind of translation that is, depending on the type of file [15:35] 8. Zoom. [15:35] You've used this already, and it's the magnifier icon with the plus (+) or minus (-) [15:36] on the far left of the translatable message [15:36] If you click on it, it will let you switch between the single message view or all translatable messages view. [15:36] Useful to concentrate on a difficult translation or to get the URL to a particular message you want to point out to (i.e. for review or to show someone a particular translation). [15:37] 9. Copy text. [15:37] That's the arrow icon right to the left of the translatable message. [15:37] It provides a shortcut to be able to just copying the original text into the translation field [15:37] without having to retype the message [15:38] This comes in quite handy when the translation is actually the same as the original [15:39] i.e. it is actually not translated. This happens in the names of programs, acronyms, names of programming languages, etc. [15:39] 10. "Save & Continue" button. [15:39] That is a key part of the UI. [15:39] The moment you press it, your translations or suggestions are saved in the Launchpad database. [15:39] This allows you coming back at a later time to review them and they will be right there where you left them last time. [15:40] You don't have to complete all translations in a page [15:40] you can press it at any time and it will save only the ones you've made. [15:41] Ok, so that has covered the most important UI elements of the Launchpad Translations interface. [15:41] I tried to detail each one of them, but you'll see that they are quite intuitive and it will just take you a couple of minutes to get used to them. [15:41] -> Any questions so far? [15:42] ok, let's move on [15:42] Doing Your First Translations [15:42] ----------------------------- [15:42] So now for the fun part. [15:42] The translations-training project is thought for you to experiment with translations and with all the UI elements. [15:43] It's thought of as a hands-on tutorial, as the translator comments will tell you more about the particular translation [15:43] and help you learn more about elements of translation. [15:43] It has just a few translatable messages now, but we'll be adding more in future sessions. [15:44] If you are not there yet, you can go to [15:44] https://translations.launchpad.net/translations-training [15:44] Then click on your language and start submitting your translation suggestions. [15:44] Right now the project is set up with Restricted permissions, in the same way Ubuntu is. [15:45] This means that you can only submit direct translations if you are a member of an approved translation team, [15:45] but you'll always be able to submit translation suggestions. [15:45] If, after you've tried submitting suggestions you want to see what it's like submitting direct translations, do let me know and I can change the permissions temporarily to Open, so that anyone can do it. [15:46] So go and play with this project, and do come back if you've got any questions [15:46] Everything clear so far? [15:48] So if there aren't any questions, we'll wrap up and leave it here for today, and we'll continue in two weeks time in the next session [15:48] [15:48] Summary [15:48] ------- [15:48] So today we learnt about: [15:48] * The Launchpad Translations UI elements and how to use them [15:49] * Submitting translations and suggestions through the Translations Training project in Launchpad: https://translations.launchpad.net/translations-training [15:50] Next session we can look at the rest of UI elements and to more advanced topics, for example translations workflow: how translation teams work [15:50] If you've got any questions, feel free to ping me any time on #ubuntu-translators [15:51] And thanks for reading! :-)