KombuchaKip | When 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 |
---|---|---|
wgrant | KombuchaKip: It shows only your preferred languages my default. You can show Russian again by clicking "View all languages" | 00:59 |
KombuchaKip | wgrant: I'm an idiot. Thanks. | 01:00 |
wgrant | The list can get slightly large on well-translated projects | 01:00 |
KombuchaKip | wgrant: 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 |
KombuchaKip | wgrant: 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 |
wgrant | KombuchaKip: POTs are always C | 01:23 |
wgrant | It's impossible to make them en_CA, because they are defined to be C | 01:23 |
KombuchaKip | wgrant: By C, you mean en_US? | 01:23 |
wgrant | The POSIX locale. | 01:23 |
KombuchaKip | wgrant: Which is en_US? | 01:25 |
wgrant | KombuchaKip: Not specifically, but it's usually treated as such. | 01:27 |
KombuchaKip | wgrant: Thanks. | 01:27 |
wgrant | Pretty 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 |
KombuchaKip | wgrant: Fair enough. | 01:29 |
KombuchaKip | wgrant: 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 |
KombuchaKip | wgrant: I'm fairly new to i18n / autotools / launchpad translation integration. | 01:31 |
wgrant | I only know the Launchpad side of translations, unfortunately. | 01:31 |
KombuchaKip | wgrant: It's ok. Thanks anyways. | 01:33 |
KombuchaKip | wgrant: 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 |
wgrant | KombuchaKip: https://translations.launchpad.net/avaneya will always show the user's preferred languages, so they can create a new translation themselves. | 01:35 |
wgrant | eg. I see en_AU and en_GB there, despite there being no existing translation | 01:35 |
wgrant | But if you have somethig to work from, adding an en_AU.po to the branch will work | 01:35 |
KombuchaKip | wgrant: Ok. | 01:36 |
KombuchaKip | wgrant: 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 | *branch | 01:37 |
wgrant | KombuchaKip: Exactly | 01:37 |
KombuchaKip | wgrant: So I should just delete these .po files I was creating as stubs. | 01:37 |
wgrant | Yep | 01:38 |
wgrant | Launchpad will autocreate them the first time a user translates a string in a new language | 01:38 |
KombuchaKip | wgrant: 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 |
wgrant | KombuchaKip: https://translations.launchpad.net/avaneya | 01:51 |
KombuchaKip | wgrant: thanks | 01:52 |
wgrant | As long as they have their preferred languages configured in either LP or their browser/OS | 01:52 |
KombuchaKip | wgrant: How do I add an additional template to here? <https://translations.launchpad.net/avaneya/trunk/+templates> | 02:19 |
KombuchaKip | wgrant: Or does it happen automatically when LP detects that I commit a new .pot file? | 02:19 |
wgrant | KombuchaKip: In most cases it should work automatically | 02:20 |
wgrant | If you're not using bzr imports then you can go to https://translations.launchpad.net/avaneya/trunk and do a tarball import | 02:20 |
KombuchaKip | wgrant: Ok, I imagine I just have to wait for it to refresh. | 02:20 |
wgrant | But since you're using bzr it should be automatic | 02:20 |
KombuchaKip | wgrant: Fair enough. Thanks. | 02:20 |
KombuchaKip | wgrant: Appreciate the help. | 02:20 |
wgrant | https://translations.launchpad.net/avaneya/trunk/+imports | 02:20 |
wgrant | KombuchaKip: You can see there that the pot imports are approved and in the queue | 02:21 |
KombuchaKip | Right. | 02:21 |
wgrant | 2013-05-25 02:21:33 INFO Importing: Template "vlr" in Avaneya trunk | 02:22 |
wgrant | 2013-05-25 02:21:39 INFO Importing: Template "viking-extractor" in Avaneya trunk | 02:22 |
wgrant | 2013-05-25 02:21:44 INFO Import requests completed. | 02:22 |
wgrant | It should autodetect and import the translations within 15 minutes or so | 02:23 |
KombuchaKip | wgrant: Thanks a lot. | 02:28 |
wgrant | np | 02:28 |
KombuchaKip | wgrant: 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 |
KombuchaKip | wgrant: I tried rebooting as well. | 02:29 |
wgrant | KombuchaKip: You'll want to set LANGUAGE and LC_ALL | 02:32 |
wgrant | And possibly LANG | 02:32 |
wgrant | eg. LANGUAGE=en_RU:ru LANG=ru_RU LC_ALL=ru_RU.UTF-8 | 02:32 |
KombuchaKip | wgrant: Ok, let me give it a try. | 02:33 |
KombuchaKip | wgrant: Ok, there we go. hello works. =) | 02:33 |
wgrant | Er, s/en/ru/ | 02:34 |
KombuchaKip | wgrant: 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 |
wgrant | KombuchaKip: 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 |
wgrant | But installing language-pack-ru gives you translations for Ubuntu and automatically generates those locales | 02:36 |
KombuchaKip | wgrant: Thanks | 02:36 |
wgrant | So it's usually the way to go | 02:36 |
wgrant | KombuchaKip: Setting LANGUAGE=ru_RU:ru is probably sufficient for testing | 02:37 |
wgrant | It should override LANG and LC_ALL, I think | 02:37 |
KombuchaKip | wgrant: Thanks. Why is it ru_RU:ru and not just ru_RU? | 02:39 |
wgrant | KombuchaKip: Good point, ru_RU or just ru should work | 02:41 |
KombuchaKip | KombuchaKip: Thank you. | 02:41 |
wgrant | I'm used to using en_AU:en, because it's a priority list | 02:42 |
KombuchaKip | wgrant: Right. | 02:42 |
wgrant | it'll try to use en_AU first, but if there's no en_AU message then it'll fall back to the default en locale | 02:42 |
KombuchaKip | wgrant: Right. Makes sense. | 02:43 |
saiarcot895 | Is there a particular reason many PPA builder machines are disabled during the weekends? | 15:22 |
TheLordOfTime | there'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!