Page MenuHomePhabricator

generate language package for ca_ES.utf8
Closed, ResolvedPublic

Description

Author: coet.cawiki

Description:
Can some admin install locale ca_ES.utf8 ?


Version: unspecified
Severity: normal

Details

Reference
bz66721

Related Objects

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:18 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz66721.

After a chat with the reporter on IRC,

The point of this request is that some bots active in Catalan projects (ca.wiki...) and currently hosted in the toolserver require this locale. If it is not available in Tools Labs, then such bots will stop working when the old toolserver is shut down on July 1st.

coet.cawiki wrote:

Three months ago I have reported this bug https://bugzilla.wikimedia.org/show_bug.cgi?id=62269 but it was forgotten. Today I wanted remember my post to community and YuviPanda on Cloud-Services has suggested me to create a new bug.

I hope this new request doesn't pass into oblivion.

The component "General" is for "issues surrounding set up of labs projects", while the setup of Wikimedia Tools is managed under the component "tools" ("Issue tracker for the tools.wmflabs.org infrastructure itself. Note: Issues with tools running on Tool Labs should be filed under 'Tool Labs tools'."). So this bug (and bug #62269) didn't appear on the radar of anyone involved with Wikimedia Tools. I'll submit a patch in a few minutes.

Change 140239 had a related patch set uploaded by Tim Landscheidt:
Tools: Install Catalan locale

https://gerrit.wikimedia.org/r/140239

Change 140239 merged by Alexandros Kosiaris:
Tools: Install Catalan locale

https://gerrit.wikimedia.org/r/140239

Has been merged, should be present in the nodes in about 30minutes. Can you test and verify after that? Thanks!

coet.cawiki wrote:

It works fine.

import locale,time;locale.setlocale(locale.LC_ALL, "ca_ES.UTF-8@valencia");[time.strftime("%B", time.strptime("01-%i-2014" % i, "%d-%m-%Y")) for i in range(1,12)];[time.strftime("%A", time.strptime("%i-1-2014" % i, "%d-%m-%Y")) for i in range(1,7)]

'ca_ES.UTF-8@valencia'
['gener', 'febrer', 'mar\xc3\xa7', 'abril', 'maig', 'juny', 'juliol', 'agost', 'setembre', 'octubre', 'novembre']
['dimecres', 'dijous', 'divendres', 'dissabte', 'diumenge', 'dilluns']

Thanks. (Sorry for my poor English.)

:D Glad this could be fixed!

(And no need to apologize for 'poor English' :) )