[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-10-02 Thread James Henstridge
Here's the response I got from the StackOverflow question from a member of Google's Developer Relations team: Internationalization in the Data API v3 is something YT started supporting recently, and it's limited now. But there is a work going on to bring this support to the all functionalities

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread David Planella
So there seem to be 2 issues here: - Missing translatable strings: might be either because they're not marked for translation in the code, or because the .pot file is not up-to-date - Translations not committed: (and perhaps not shipped). Someone with permissions needs to: 1. Go to

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread David Planella
** Changed in: unity-scope-youtube (Ubuntu) Status: New = Triaged ** Changed in: unity-scope-youtube (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu.

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread Thomas Strehl
** Tags added: touch-2014-10-16 ** Changed in: unity-scope-youtube (Ubuntu) Assignee: (unassigned) = James Henstridge (jamesh) ** Tags removed: touch-2014-10-16 ** Tags added: touch-2014-10-30 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread James Henstridge
Note that these strings don't appear in the PO template because they don't actually exist in the source code: they are provided by the YouTube API. So the bug is either (a) we aren't correctly passing locale information to the YouTube API, or (b) YouTube is not providing localised names for these

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread James Henstridge
So I've dug a bit further into this problem. I've confirmed that the untranslated strings are coming from the API rather than embedded in the scope, so it isn't a simple matter of adding some gettext() calls and rerunning make pot. The department list is determined by a call to the

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread James Henstridge
I'm not having much luck after playing around with the API. The channels list operation ignores the hl parameter if you pass it in. The Accept-Language HTTP request header doesn't alter the response either. -- You received this bug notification because you are a member of Ubuntu Touch seeded

Re: [Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread Víctor R . Ruiz
Localized category lists: https://developers.google.com/youtube/2.0/reference#Localized_Category_Lists «You can also retrieve localized category lists that specify category labels for classifying video content in particular languages. You can download these lists from

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread James Henstridge
Note that that is for the deprecated 2.0 API, which we aren't using. The equivalent v3 API would be either the guideCategories.list API we are using, or possibly videoCategories.list: both of which support localisation as I described above (and clearly visible in the departments list of the

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-30 Thread James Henstridge
The YouTube developers site points at StackOverflow for its Ask a Question link, so I've done that here: http://stackoverflow.com/q/26133830/721283 I also found a low quality bug report from about a year ago that seems to be describing the same issue: https://code.google.com/p/gdata-

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-29 Thread Albert Astals Cid
Actually there may be a bug in unity-scope-youtube since for example Popular on YouTube does not appear for translation in https://translations.launchpad.net/unity-scope-youtube -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1359153] Re: YouTube labels and categories are not localized

2014-09-29 Thread Albert Astals Cid
Nothing to do with unity8, I don't even think it's a unity-scope-youtube bug, simply there are no translations to Spanish in https://translations.launchpad.net/unity-scope-youtube ** Also affects: unity-scope-youtube (Ubuntu) Importance: Undecided Status: New ** Also affects: unity8