/srv/irclogs.ubuntu.com/2013/05/25/#launchpad.txt

KombuchaKipWhen I go to my LP translations page, I see "Russian" is listed under Translation for trunk, but then disappears after a second or two. <https://translations.launchpad.net/avaneya>00:47
wgrantKombuchaKip: It shows only your preferred languages my default. You can show Russian again by clicking "View all languages"00:59
KombuchaKipwgrant: I'm an idiot. Thanks.01:00
wgrantThe list can get slightly large on well-translated projects01:00
KombuchaKipwgrant: Fair enough. Is there any way to set my translation catalogue template to be identified as en_CA already so that I don't have to provide a redundant en_CA.po?01:04
KombuchaKipwgrant: I see there is a 'Language' header field <https://www.gnu.org/software/gettext/manual/html_node/Header-Entry.html> but I don't know how to set it.01:07
wgrantKombuchaKip: POTs are always C01:23
wgrantIt's impossible to make them en_CA, because they are defined to be C01:23
KombuchaKipwgrant: By C, you mean en_US?01:23
wgrantThe POSIX locale.01:23
KombuchaKipwgrant: Which is en_US?01:25
wgrantKombuchaKip: Not specifically, but it's usually treated as such.01:27
KombuchaKipwgrant: Thanks.01:27
wgrantPretty much everything treats C as en_US and lots of software probably makes assumes around that, so doing otherwise would be rather inadvisable.01:28
KombuchaKipwgrant: Fair enough.01:29
KombuchaKipwgrant: I am using AM_GNU_GETTEXT macro. I can't figure out how to set the CHARSET to utf-8 automatically when my .pot is generated each time with update-po target. Do you know how to do this, perchance?01:30
KombuchaKipwgrant: I'm fairly new to i18n / autotools / launchpad translation integration.01:31
wgrantI only know the Launchpad side of translations, unfortunately.01:31
KombuchaKipwgrant: It's ok. Thanks anyways.01:33
KombuchaKipwgrant: How does Launchpad register new translation catalogues with a project? Do I simply commit a new lang.po file into the repository for my project and it automatically sees that and makes it available for translation?01:34
wgrantKombuchaKip: https://translations.launchpad.net/avaneya will always show the user's preferred languages, so they can create a new translation themselves.01:35
wgranteg. I see en_AU and en_GB there, despite there being no existing translation01:35
wgrantBut if you have somethig to work from, adding an en_AU.po to the branch will work01:35
KombuchaKipwgrant: Ok.01:36
KombuchaKipwgrant: So in theory I shouldn't need to manually add any files to my tree in order for someone else to perform a translation on LP which can then be merged into my brach automatically?01:37
KombuchaKip*branch01:37
wgrantKombuchaKip: Exactly01:37
KombuchaKipwgrant: So I should just delete these .po files I was creating as stubs.01:37
wgrantYep01:38
wgrantLaunchpad will autocreate them the first time a user translates a string in a new language01:38
KombuchaKipwgrant: Right on. So if I have someone who wants to translate into language X for my project, what is the best URL to send them to?01:48
wgrantKombuchaKip: https://translations.launchpad.net/avaneya01:51
KombuchaKipwgrant: thanks01:52
wgrantAs long as they have their preferred languages configured in either LP or their browser/OS01:52
KombuchaKipwgrant: How do I add an additional template to here? <https://translations.launchpad.net/avaneya/trunk/+templates>02:19
KombuchaKipwgrant: Or does it happen automatically when LP detects that I commit a new .pot file?02:19
wgrantKombuchaKip: In most cases it should work automatically02:20
wgrantIf you're not using bzr imports then you can go to https://translations.launchpad.net/avaneya/trunk and do a tarball import02:20
KombuchaKipwgrant: Ok, I imagine I just have to wait for it to refresh.02:20
wgrantBut since you're using bzr it should be automatic02:20
KombuchaKipwgrant: Fair enough. Thanks.02:20
KombuchaKipwgrant: Appreciate the help.02:20
wgranthttps://translations.launchpad.net/avaneya/trunk/+imports02:20
wgrantKombuchaKip: You can see there that the pot imports are approved and in the queue02:21
KombuchaKipRight.02:21
wgrant2013-05-25 02:21:33 INFO    Importing: Template "vlr" in Avaneya trunk02:22
wgrant2013-05-25 02:21:39 INFO    Importing: Template "viking-extractor" in Avaneya trunk02:22
wgrant2013-05-25 02:21:44 INFO    Import requests completed.02:22
wgrantIt should autodetect and import the translations within 15 minutes or so02:23
KombuchaKipwgrant: Thanks a lot.02:28
wgrantnp02:28
KombuchaKipwgrant: Here's a question for you. How can I test a ru.po translation? I don't speak Russian, but I installed language-pack-{ru,base} and then ran LANG=ru hello, but it's still in English.02:29
KombuchaKipwgrant: I tried rebooting as well.02:29
wgrantKombuchaKip: You'll want to set LANGUAGE and LC_ALL02:32
wgrantAnd possibly LANG02:32
wgranteg. LANGUAGE=en_RU:ru LANG=ru_RU LC_ALL=ru_RU.UTF-802:32
KombuchaKipwgrant: Ok, let me give it a try.02:33
KombuchaKipwgrant: Ok, there we go. hello works. =)02:33
wgrantEr, s/en/ru/02:34
KombuchaKipwgrant: Do I need to have language-pack-ru installed in order to do this, or is the .mo Russian file hello came with not enough?02:34
wgrantKombuchaKip: You need to have the ru_RU.UTF-8 locale generated, which you can do without language-pack-ru by running 'sudo locale-gen ru'02:36
wgrantBut installing language-pack-ru gives you translations for Ubuntu and automatically generates those locales02:36
KombuchaKipwgrant: Thanks02:36
wgrantSo it's usually the way to go02:36
wgrantKombuchaKip: Setting LANGUAGE=ru_RU:ru is probably sufficient for testing02:37
wgrantIt should override LANG and LC_ALL, I think02:37
KombuchaKipwgrant: Thanks. Why is it ru_RU:ru and not just ru_RU?02:39
wgrantKombuchaKip: Good point, ru_RU or just ru should work02:41
KombuchaKipKombuchaKip: Thank you.02:41
wgrantI'm used to using en_AU:en, because it's a priority list02:42
KombuchaKipwgrant: Right.02:42
wgrantit'll try to use en_AU first, but if there's no en_AU message then it'll fall back to the default en locale02:42
KombuchaKipwgrant: Right. Makes sense.02:43
saiarcot895Is there a particular reason many PPA builder machines are disabled during the weekends?15:22
TheLordOfTimethere's no way to get a builder for debian on a ppa is there?17:24
TheLordOfTime(probably not)17:24

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!