# Catalan translation

**URL:** https://meta.discourse.org/t/catalan-translation/73298
**Category:** Translations
**Created:** [November 2, 2017, 3:47pm UTC](https://meta.discourse.org/t/catalan-translation/73298 "2017-11-02T15:47:39Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [November 2, 2017, 3:47pm UTC](https://meta.discourse.org/t/catalan-translation/73298/1 "2017-11-02T15:47:39Z")

</div>

Hi, I am considering a new project involving a Discourse instance with Catalan as primary language.

The first thing I have noticed is that there are two “languages” in Transifex related to Catalan: ca and ca\_ES. They have different strings translated and reviewed. Is this normal? Do they act as completely separate localizations or is i.e. ca a fallback for ca\_ES (or vice versa)? Is it possible to merge them in order to have one version only (since ca\_ES is in practice the default for ca anyway and there are no other regional variants so far?)

Once these questions are solved, I would be curious to know what would it take to enable Catalan here (or at least in the demo version) so myself (and other Catalan speakers around?) can see which are the strings needing translation more urgently.

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [November 3, 2017, 1:03am UTC](https://meta.discourse.org/t/catalan-translation/73298/2 "2017-11-03T01:03:56Z")

</div>

There’s a pinned topic with instructions.

> [@How to add a new language](https://meta.discourse.org/t/how-to-add-a-new-language/14970):
>
> Contribute translations The first step is to do some translating in [our Crowdin workspace](https://translate.discourse.org/). Create an account and start translating in one or more languages. See [Contributing translations to Discourse](https://meta.discourse.org/t/contribute-a-translation-to-discourse/14882) for more information about that. Add language to Discoursewarning These instructions are currently out of date! You have two options when you think that the translation is ready to be included in Discourse: Post in this topic and ask for your language to be included in Discourse. There m…

The Catalan translators on Transifex will need to explain why there’s duplicate effort there.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [November 3, 2017, 9:54am UTC](https://meta.discourse.org/t/catalan-translation/73298/3 "2017-11-03T09:54:25Z")

</div>

Thank you @neil for your quick reply.

I saw that pinned topic and I started reading it, but silly me thought that these were instructions to add a language to your own instance, not to Discourse upstream. Now it’s clear.

I checked with Transifex support. ca and ca\_ES act effectively as separate languages, unless someone find a way to make one become the fallback to the other in a specific software product. For now, I am assuming that they are simply separate languages with little use and a potential for confusion and duplication of work. Improving the % of completion of ca should be the goal, recycling work done at ca\_ES if/where feasible.

I just contacted @foobar1234 via Transifex, since still today he is the maintainer of both versions and he might know what happened years ago to end up in that situation. Hopefully he will be still around and able to reply.

Once the plan for next steps is clear(er), I will contact the rest of translators listed in both teams, pointing the to this thread for coordination.

Let’s see how it goes. 🙂

---

<div class="post-metadata">

### Author: ![foobar1234](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/foobar1234/32/114949_2.png) [@foobar1234](https://meta.discourse.org/u/foobar1234)
#### Post date: [November 3, 2017, 10:37am UTC](https://meta.discourse.org/t/catalan-translation/73298/4 "2017-11-03T10:37:39Z")

</div>

For everyone’s info, I am in contact with @icaria36 on transifex already. I’m glad there will be another contributor to the Catalan translation! Hopefully we will sort out this ca/ca\_ES duality and bring one translation up to speed.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [November 6, 2017, 10:48pm UTC](https://meta.discourse.org/t/catalan-translation/73298/5 "2017-11-06T22:48:21Z")

</div>

Just for the record, the idea is to either merge the strings of ca and ca\_ES or take the ca\_ES strings (since that version is more complete) and end up with a ca version only.

I am contacting the translators of both teams to this thread for feedback and coordination.

---

<div class="post-metadata">

### Author: ![prullan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/prullan/32/120559_2.png) [@prullan](https://meta.discourse.org/u/prullan)
#### Post date: [November 7, 2017, 4:52pm UTC](https://meta.discourse.org/t/catalan-translation/73298/6 "2017-11-07T16:52:09Z")

</div>

I will not be able to help on the translation so any decision by @icaria36 is good to me.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [November 9, 2017, 7:19am UTC](https://meta.discourse.org/t/catalan-translation/73298/7 "2017-11-09T07:19:29Z")

</div>

After contacting ~20 translators only 2 got back to me (one of them @prullan, gràcies!) and both had no strong opinions about the plan.

I might be wrong, but it seems that as of today nobody is desperately waiting for a new version of the Catalan locale. Discourse installations that are using Catalan patched their Catalan locale manually and their users probably are happy enough with it.

@foobar1234 , given that we are all very busy, I propose a simpler change: just rename ca\_ES to ca in Transifex (I can request this, no idea about the process) and then propose a pull request to Discourse devs to integrate the ca locale.

After looking a bit further into ca and ca\_ES, the latter has much better coverage, and I am not seeing translations in ca missing in ca\_ES.

In other news, I am teaching discobot to speak Catalan. 😉 This is an amazing feature, key player in the out of the box experience, and it was 0% translated.

---

<div class="post-metadata">

### Author: ![ggstuart](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ggstuart/32/148705_2.png) [@ggstuart](https://meta.discourse.org/u/ggstuart)
#### Post date: [November 10, 2017, 10:12am UTC](https://meta.discourse.org/t/catalan-translation/73298/8 "2017-11-10T10:12:25Z")

</div>

Hi @icaria36, I do have Catalan users. None of them are complaining but I am not sure of the status of my up to date discourse instance. Is Catalan supported out of the box or do I need to add it somehow?

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [November 10, 2017, 10:13am UTC](https://meta.discourse.org/t/catalan-translation/73298/9 "2017-11-10T10:13:59Z")

</div>

At this point it is better that you wait until Catalan is integrated. I’m working on it. I’ll let you know when it is available out of the box. Thank you for your willingness to make Catalan speakers feeling at home! 🙂

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [November 17, 2017, 12:22am UTC](https://meta.discourse.org/t/catalan-translation/73298/10 "2017-11-17T00:22:58Z")

</div>

Status update:

- All strings in `ca_ES` have been merged to `ca`.
- Therefore, `ca_ES` is history now. I have asked the Transifex admins how to delete a language.
- The next step would be to follow [How to add a new language - #61](https://meta.discourse.org/t/how-to-add-a-new-language/14970/61) using the `ca` files.

I wanted to give it a try but I am having problems [installing the development environment](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727/193)…

I’m a poor translator and I would rather spend my time translating rather than fighting with Rails. If someone is willing to help merging the files, that would be great!

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [November 17, 2017, 8:39pm UTC](https://meta.discourse.org/t/catalan-translation/73298/11 "2017-11-17T20:39:10Z")

</div>

Please, we need the help of a Transifex’s Discourse team manager to delete `ca_ES`. Is it enough to post the request here?

The steps to remove a language are explained here:

> **[Home | Transifex Help Center](https://help.transifex.com/en/)**
>
> Transifex Help Center

The language to remove is “`ca_ES`” (not “`ca`”!) 🙂

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [November 17, 2017, 9:33pm UTC](https://meta.discourse.org/t/catalan-translation/73298/12 "2017-11-17T21:33:01Z")

</div>

@icaria36 Done. Thanks for merging the translations.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [December 6, 2017, 12:31am UTC](https://meta.discourse.org/t/catalan-translation/73298/13 "2017-12-06T00:31:19Z")

</div>

Is there a volunteer willing to go through [How to add a new language](https://meta.discourse.org/t/how-to-add-a-new-language/14970) in order to send a pull request adding Catalan support to Discourse?

A translator is working on [narrative-bot/server.en.yml](https://www.transifex.com/discourse/discourse-org/narrativeserverenyml/) and the goal is to have that file translated this week. After that, discobot would speak Catalan for the first time, and what a better way to celebrate this than committing Catalan support to Discourse?

PS: If no volunteer appears but someone is interested in doing this work for a fee, I’m open to suggestions. I still haven’t managed to install Discourse locally and I’m so busy these days anyway.

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [December 6, 2017, 11:21pm UTC](https://meta.discourse.org/t/catalan-translation/73298/14 "2017-12-06T23:21:36Z")

</div>

> [@\[PAID\] Adding Catalan files to Discourse upstream](https://meta.discourse.org/t/paid-adding-catalan-files-to-discourse-upstream/75559):
>
> What would you like done? Take the all the Catalan (ca) files in [Transifex.com](http://Transifex.com) regardless of their % of completion, and create a pull request in GitHub in order to add Catalan support to Discourse. For background and details, see [How to add a new language](https://meta.discourse.org/t/how-to-add-a-new-language/14970) & [Catalan translation](https://meta.discourse.org/t/catalan-translation/73298/13). To be clear, you don’t need to know Catalan at all. When do you need it done? Sooner rather than later, but there is no real deadline. What is your budget, in $ USD that you can offer for this task? I’m open to sugg…

---

<div class="post-metadata">

### Author: ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)
#### Post date: [December 7, 2017, 9:54pm UTC](https://meta.discourse.org/t/catalan-translation/73298/15 "2017-12-07T21:54:45Z")

</div>

Catalan files were prepared and committed by @xrav3nz voluntarily (thank you again!) and merged short thereafter (thank you Discourse maintainers!). I just upgraded our project and it works!

[https://confederac.io/t/interficie-en-catala-disponible/251](https://confederac.io/t/interficie-en-catala-disponible/251)

Thank you @foobar1234, most of the strings translated are still yours. I hope that now that Catalan ships with Discourse more instances and more users will use it, find problems, contribute translations…
