Commit Graph
45 Commits
Author SHA1 Message Date
Manuel Fombuena 31fda28b95 [FIX] base: en_GB, week_start: Monday
Monday is commonly accepted as the first day of the week in the UK.

Listed as first option on https://www.unicode.org/cldr/cldr-aux/charts/29/supplemental/territory_information.html#GB with Sunday as an alternative.
All mayor OS (Windows, Mac, iOS) use Monday as the first day of the week when the locale en_GB is used.

closes odoo/odoo#76780

X-original-commit: d7dfa09a2bd649cc3370b3e918469c2a3cdddc95
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-09-20 10:54:15 +00:00
Csaba Tóth d8af84b929 [FIX] base: update Hungarian time format
The official time format is %H:%M:%S (with colons not with dots)

closes odoo/odoo#75715

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-09-07 13:12:48 +00:00
Martin Trigaux 918ccf5b0e [IMP] base: rename zh_TW
Use "繁體中文" instead of "正體字"
It is a synonym but it is a bit more formal. It is also more coherent
with "简体中文" used for zh_CN

closes odoo/odoo#55387

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-04 11:04:36 +00:00
Moisés López a13bfacb0b [FIX] base: correct es_PE and es_CR locales
Change the decimal point and thousands separator for es_PE and es_CR
Set the currency symbol and position for Colon CRC

closes odoo/odoo#48535

X-original-commit: 88f420f37c305a7451be31ee36c479c2dffd4db8
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-03-27 16:31:36 +00:00
Jason Van Malder 3b4cdbebf2 [FIX] odoo: default Dutch language settings
Dutch default settings are incorrect:
- Separator Format []
- Decimal Separator ,
- Thousands Separator (empty)

This must be:
- Separator Format [3,0]
- Decimal Separator ,
- Thousands Separator .

OPW-2179020

closes odoo/odoo#43956

X-original-commit: 5c2ea7426d3f70ad897328b41e2df02508708c61
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
2020-01-24 17:57:11 +00:00
Martin Trigaux 194ed76c5c [ADD] base: replace Filipino by Tagalog language
This is the second move to replace Filipino by Tagalog language

Using Filipino (code fil_PH) is problematic as conflicts with Finnish
(code fi_FI) and users having their browser in Finnish were redirected
to the Filipino version of the website (cf discussion at opw-2172710).

This problem was also raised in other softwares like in the below
discssion in Mozilla L10N groups
https://groups.google.com/forum/#!topic/mozilla.dev.l10n/TW2qYyDDNoE

Quoting the discussion in above thread:

> Filipino is the national language of the Philippines, but it is
> commonly referred to (and registered as) Tagalog, since most of the
> terms therein were derived from it (Tagalog).

This commit targets the master (future 14.0 as of today), adds a new
Tagalog language and removes the Filipino.
In 12.0, only the Tagalog was added.
As fil_PH is only translated on odoo-com project but remains at 0% in
other Transifex project, it is assumed the language switch won't
impact too many people.

closes odoo/odoo#43634

Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2020-01-21 13:12:12 +00:00
pawa2007 fb8e9f824b [ADD] base: add locale for en_IN
English (India) needs its own locale definition so that it can be
selected at the time of database creation.

For example, the amounts in India are displayed/printed as
99,99,99,999.99 (crore, lakh/lac, thousand, etc.) instead of
999,999,999,999.99 (billion, million, thousand, etc.)

closes odoo/odoo#40393

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-19 09:16:32 +00:00
baskhuu a96872defe [FIX] base: change mongolian language configuration
Change decimal point, thousand separator and date format for Mongolian
language

closes odoo/odoo#37934

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-04 07:42:05 +00:00
Xavier ALT 21fa7ca76f [ADD] base: add Luxembourgish language
Add luxembourgish language code in order to be able to translate terms
for that language in Odoo.

closes odoo/odoo#36757

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-09-12 12:12:17 +00:00
Christophe Simonis 0c98abeed0 [FIX] base: remove extra column in csv entry
Oversight of previous forward-port.
2019-08-21 10:33:51 +02:00
Christophe Simonis 3faea8fbf8 [MERGE] forward port branch saas-12.4 up to f26de445e5 2019-08-21 10:10:11 +02:00
Christophe Simonis f26de445e5 [MERGE] forward port branch saas-12.3 up to 6f55fd65da 2019-08-20 12:17:04 +02:00
Christophe Simonis 168e54d488 [MERGE] forward port branch 12.0 up to 32039b2ab4 2019-08-19 18:57:08 +02:00
Reinaldo Ramos 0d4feadef8 [ADD] base: Add Angolan language
Add Angolan code in order to use Angolan specific translations in Odoo.
The main terms are the same but the technical terms are different

Closes odoo/odoo#35592

closes odoo/odoo#35600

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-08-12 07:24:37 +00:00
Christophe Simonis c8d7ad9a6b [MERGE] forward port branch saas-12.2 up to 995aa1685e 2019-06-03 15:49:31 +02:00
jbm-odoo 2c558eb652 [IMP] base: Remove translatable field of res.lang
The technical field `translatable` of a res.lang has become useless

closes odoo/odoo#34895

Signed-off-by: Romain Libert (rli) <rli@odoo.com>
2019-07-22 13:46:30 +00:00
Christophe Simonis 60e71302a3 [MERGE] forward port branch saas-12.2 up to 243a4ae5cb 2019-05-13 11:02:27 +02:00
Christophe Simonis 243a4ae5cb [MERGE] forward port branch saas-12.1 up to 330b99f60c 2019-05-10 15:20:01 +02:00
Davor Bojkić a515ee6064 [IMP] base{_address_extended}: update Croatia related data
- specify the correct separators on the language
- add the address format
- add street addres format for croatia

closes odoo/odoo#33205

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-05-09 13:41:01 +00:00
Christophe Simonis a97037c6d4 [MERGE] forward port branch saas-12.2 up to 78b3b650b0 2019-05-06 12:27:51 +02:00
Martin Trigaux c9913152ec [FIX] base: use correct iso code for Filipino
Instead of fil - fil_PH, it should have been fil_PH - fil.

The iso_code is used in URLs

The "code" value can not be changed in stable but iso-code can.
The code value will be changed in master as requires a migration script

closes odoo/odoo#32867

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-04-23 09:46:24 +00:00
Olivier Dony a31b7f4a3e [FIX] res.lang: correct (again) Filipino lang code
The language code was corrected in #32868 and backported in saas-12.2 via #33040
However a partial fix was also done in stable versions, and overrode the
final fix in 12.2 by mistake during fwd-ports
(fd0a10026c).

This commit reapplies the change from
91b6c1076c in saas-12.2.

Closes #32868 #33040
2019-05-20 14:29:56 +02:00
Andrius Laukavičius 62046a1d26 [FIX] base: update res.lang lt_LT date format
Lithuania uses date format `yyyy-mm-dd`, not `yyyy.mm.dd`.

LST ISO 8601:1997 (obsolete) LST ISO 8601:2006 (current)

https://en.wikipedia.org/wiki/Date_format_by_country
https://en.wikipedia.org/wiki/ISO_8601

closes odoo/odoo#33580

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-05-22 14:59:45 +00:00
Christophe Simonis 8dd5a85267 [MERGE] forward port branch saas-12.3 up to 60e71302a3 2019-05-13 15:26:12 +02:00
Lucas Perais (lpe) bf0bb534bf [FIX] base: Arabic generic World locale is ar_001
Before this commit, the "unitag" notation "xx_AA" was used for arabic generic locale
Since it is not an official Unicode CLDR notation, some other modules
may, and did crash (babel)

Instead, we prefer to use Unicode CLDR compliance
i.e. World regions should be "_001"

http://www.unicode.org/reports/tr35/#unicode_region_subtag
http://www.unicode.org/reports/tr35/#unicode_region_subtag_validity
BCP47: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

This commit should invalidate the commit made by #32344
which was a hack for stable versions

It should also be taken into account in migration scripts

closes odoo/odoo#32393

Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2019-04-03 14:24:34 +00:00
Denis Ledoux fd0a10026c [MERGE] forward port branch saas-12.1 up to b11930047f 2019-05-02 09:45:14 +02:00
Martin Trigaux 91b6c1076c [FIX] base: use correct code for Filipino
Backport of 6d9862f860 to saas-12.2

Instead of fil - fil_PH, it should have been fil_PH - fil.

closes odoo/odoo#33040

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-04-30 09:17:25 +00:00
Christophe Simonis 0e7675847f [MERGE] forward port branch saas-12.1 up to 0f4abc5c22 2019-02-22 16:25:02 +01:00
Martin Trigaux cdc6b598e3 [ADD] base: Filipino language
As odoo.com is going to be translated in Filipino
Date format source: https://lh.2xlibre.net/locale/fil_PH/

closes odoo/odoo#31276
2019-02-21 13:36:00 +00:00
Christophe Simonis 8c29df10e0 [MERGE] forward port branch saas-12.1 up to 93d736e905 2019-02-11 17:00:35 +01:00
Martin Trigaux c844d66091 [ADD] base: add Arabic and Bengali languge
Now that we have proper support for RTL language, add an Arabic language with
code "ar" (while the only possiblity before was ar_SY).
Use ar_AA code as Arabic unitag.
In master, the ar_SY could be removed as no need to have both.

Add Bengali language
Fixes odoo/odoo#31165

closes odoo/odoo#28640
2019-02-18 09:53:35 +00:00
Martin Trigaux c189a7c37e [FIX] base: correct case in Swedish language
Was with a lowercase S while it should be uppercase

closes odoo/odoo#30814
2019-02-04 13:34:28 +00:00
shreya thakrar c875d02572 [IMP] base: avoid empty language confusion
In User preferences, the empty language was confusing, rename it to 'System
(English)' instead of blank.
Rename English language as English (US).

Task ID : 1921583

closes odoo/odoo#30096
2019-02-07 10:08:59 +00:00
Martin Trigaux 6d9862f860 [FIX] base: use correct code for Filipino
Master version of odoo/odoo#32867
Instead of fil - fil_PH, it should have been fil_PH - fil.

closes odoo/odoo#32868

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-04-23 09:48:59 +00:00
Christophe Simonis 5e055a2afd [MERGE] forward port branch saas-11.4 up to f6ca72b3ce 2018-11-02 10:52:55 +01:00
Christophe Simonis cc8e8237bf [MERGE] forward port branch 11.0 up to 84500c27b1 2018-10-25 13:59:45 +02:00
Gustavo Valverde d75de9ae53 [FIX] base: set Monday as first day in es_DO
This complies with ISO 8601 and it's also the first working day in the country.
Also used for payroll computations.

closes odoo/odoo#28041
2018-10-23 07:19:16 +00:00
Christophe Simonis 0ac7f8fbe6 [MERGE] forward port branch saas-11.4 up to dabe59df9c 2018-08-14 20:16:03 +02:00
Christophe Simonis 27d8daf8a7 [MERGE] forward port branch 11.0 up to 51225c9b9f 2018-08-14 18:59:57 +02:00
Martin Trigaux f7130556bb [REF] *: add support for RTL languages
מזל טוב

The direction parameter will now have a real impact on the web interface and
completly switch the direction of the interface.
Add the dependency rtlcss to switch the direction with a css postprocessor.

Two different assets will be generated for ltr or rtl
/web/content/<...>/web.assets_backend.0.css
and
/web/content/<...>/rtl/web.assets_backend.0.css
to be able to differentiate it easily

Adapt the css and views to be easier to switch direction

Render graph as it is, do not move y-axis right side, as per mathematical rule
value goes left from origin are considered negative, so keep graph as it is
for right to left language

add test cases for language direction specific assets bundle
if language direction is rtl then we also store css files in assets bundle
now we store two assets bundle, one for ltr and one for rtl language direction
test two assets bundles generated, also test two assets bundle generated for en_US and ar_SY
2018-08-10 16:32:50 +02:00
Christophe Simonis fed775bc0c [MERGE] forward port branch 11.0 up to 8c64159b88 2018-04-18 18:20:40 +02:00
Christophe Monniez aca61e3584 [IMP] base, res.lang: add canadian english 2018-02-01 16:48:33 +01:00
Suraj Shukla 27b30daea5 [IMP] calendar: get first day of week from user's current language.
The first day of week is a cultural habit usually linked to the language. An additionnal option could be added later on the user preferences to allow a user to change the first day of the week in his calendar view.
2018-01-29 12:21:11 +01:00
Richard Mathot 40b879b75d [FIX] base: language code for Khmer (Cambodia)
Manual cherry-pick in master of the "commit that broke the stable and was
reverted": 3830621075
2018-01-05 11:45:43 +01:00
Thibault Delavallée d6804a8218 [MOV] base: move res_* data and demo into data/ along with images in static/img
Purpose is to clean the directory before working on it for new demo data
and some model cleaning.
2017-11-27 11:13:58 +01:00