10 Commits

Author SHA1 Message Date
Javi Martín
715bc5ef05 Fix language code for Spanish in Crowdin config
We were using `es`, which is the code we use in `config/locales/`, but
Crowdin actually uses `es-ES`.
2025-04-04 12:22:52 +02:00
Javi Martín
27ce9c24b6 Exclude Spanish in Crowdin configuration
We update the texts in Spanish ourselves, just like we update the
English texts. However, every time we get a pull request to update
translations from Crowdin, we get a bunch of texts in Spanish that we
ignore.

Hopefully excluding the Spanish language will solve the issue.
2025-03-07 17:31:35 +01:00
Senén Rodero Rodríguez
30a0235ea3 Change the way we handle source strings updates
With the `update_without_changes`, previous translations are kept
even when the source string changed utterly. Using this option caused
some problems when updating source language strings, as the
translators do not get any notification, and the old translation keeps
approved, so translators do not have an easy way to find those strings
in Crowdin.

With the `update_as_unapproved` option, translators and Crowdin
managers can find those translations that need to be updated by
searching among not approved translations.

Quoting Crowdin's docs [1]:

> update_without_changes - preserve translations and validations of
   changed strings
> update_as_unapproved - preserve translations of changed strings
   and remove validations of those translations if they exist

[1] https://support.crowdin.com/configuration-file/#changed-strings-update
2021-11-25 12:06:14 +01:00
Senén Rodero Rodríguez
af987a2a4d Add Serbian (Cyrillic) new language mapping
This language_mapping setting was requested by Crowdin support
team to make Crowdin understand that we want Serbian (Latin)
translations files locale code `sr-CS` and Serbian (Cyrillic) with
locale code `sr`, we were asked to add the same mappings to
Crowdin project settings at [1]

[1] `Project Settings -> General -> Export -> Language mappings`
2020-09-16 16:31:02 +02:00
Senén Rodero Rodríguez
9694def11a Enable Serbian (Cyrillic)
Consul uses two variants of Serbian: Serbian (Cirylic), and
Serbian (Latin) so wee need to use different locale codes for each of
them to avoid collisions.

The folder names of both languages were correct but the locale code within
the files was the same for both languages "sr" so translations were mixed.

This commit changes the locale code within Serbian (Latin) translations
files to "sr-CS", also adds a new language mapping to the Crowdin config
file so next ConsulBot commits with Serbian (Latin) translations will be
done using the locale code defined at new language mapping.
2020-09-15 17:53:54 +02:00
Javi Martín
e34a827c48 Add translations for rails date order
Not doing so caused crashes on applications which don't fall back to
English when a translation is missing.

We're adding them in a separate file so we can exclude it from crowdin
and so translators don't translate symbols as if they were words which
need translation.
2018-12-21 19:31:15 +01:00
voodoorai2000
0b43957f0d Maintain translations for other languages after updatin main language
When updating the translation for an English key (the base language) Crowdin was removing that key from all other languages.

With this configuration option, translations for other languages should be maintained.
2018-11-16 14:58:55 +01:00
Bertocq
4b5cfec5ee Correctly configure valencian (spanish) lang name for crowdin 2018-01-19 15:06:39 +01:00
Bertocq
8fc2692f69 Add crowding config 2017-07-05 13:30:05 +02:00
BertoCQ
621ec41ec9 Update Crowdin configuration file 2017-06-22 14:18:22 +02:00