Commit Graph

47 Commits

Author SHA1 Message Date
Amir Pourmand
49be02f900 fix(i18n): Add RTL Detection based on Config Set Language (#2100)
* Add rtl automatic detection to base.scss

* Implement RTL support for Arabic and Persian locales and update HTML direction attribute in renderPage component

* Update HTML direction attribute in renderPage component to prioritize frontmatter dir value

* Refactor renderPage component to simplify HTML direction attribute assignment by removing frontmatter dir fallback
2025-09-17 16:04:22 -07:00
BVBFuchs
4f9df58f29 Update de-DE.ts (#2128) 2025-09-15 11:59:10 -07:00
Paweł Świątkowski
641c471a14 Add pl translation for search placeholder (#2090) 2025-08-15 13:27:56 -07:00
Nizav
8c8cd0728a feat(i18n): Bahasa Indonesia translations (#1981) 2025-05-23 22:07:29 -04:00
Felix Nie
ec66fa5a5d feat(i18n): readermode translations and icon (#1961)
* fix(readermode): Translations and a new icon for ReaderMode

* Formatted

* Replaced icon
2025-05-07 21:56:18 +02:00
Jon Erling Hustadnes
0b4eb4a4d9 feat(i18n): added nb-NO (Norwegian) (#1795) 2025-02-27 16:33:15 -05:00
Suamppa
50a5c3bb59 feat(i18n): add Finnish translations for i18n (#1782) 2025-02-25 16:27:32 -05:00
Mantvydas Deltuva
1f66d05be4 feat(i18n): Lithuanian (#1733) 2025-01-21 00:20:02 -05:00
Patsagorn Y.
f0e6c0334a feat(i18n): Thai translations (#1722) 2025-01-16 15:44:33 -05:00
hill
b342554efc feat(i18n): add zh-TW (#1621) 2024-12-03 04:52:36 -05:00
Osman Tunahan ARIKAN
b484568605 feat(i18n): add turkish language (#1554) 2024-10-30 18:33:22 -04:00
KurekMartin
8682b5b7fa i18n: add Czech translation (#1477)
* add Czech translation

* fix formatting
2024-10-04 09:10:40 -07:00
Jacky Zhao
9e85c451bf i18n: disambiguate en-us and en-gb 2024-07-20 20:24:17 -07:00
Illia Pyshniak
cba4a77804 i18n: Update uk-UA.ts (#1245)
Update the Ukrainian translation of Quartz according to the latest Ukrainian translation of Obsidian.
2024-06-30 21:11:21 -07:00
L01D
f31808901a i18n: Improving Spanish & adding Catalan and British English (#1240)
* Create en-GB

* Rename en-GB to en-GB.ts

* Update es-ES.ts

* Update es-ES.ts

* Create ca-ES.ts

* Update es-ES.ts

* Update index.ts

* Update index.ts

* Update index.ts

* Update es-ES.ts
2024-06-30 21:03:45 -07:00
James Bennion-Pedley
4e6282c78b feat(i18n): homepage link for 404 pages (#1117)
* Add homepage link with internationalization

* Construct pathname from baseUrl config value

* More robust URL manipulation

* Add Farsi (#1133)

* Fix bad rebase
2024-05-22 16:44:54 -04:00
Bartłomiej Garbiec
cf634901be i18n: add Polish translation (#1148)
* Create pl-PL.ts

* add pl-PL to index.ts

* import pl-PL in index.ts
2024-05-20 12:36:32 -07:00
Eledah
7f4c9c5538 feat(i18n): add Farsi (#1133)
* Add fa-IR translation via upload

* Add files via upload

* Ran npm run format
2024-05-13 09:12:06 -07:00
Lucas-BRT
3e9319d50b fix: unnecessery 'm' letter removed in pt-BR (#1100) 2024-04-16 18:02:59 -07:00
Jorge Marcelo Risco
c89c45b316 i18n: pt-BR translation (#1024)
* i18n: pt-br

* i18n: pt-br translation

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-03-24 09:40:01 -07:00
Kun-Szabó Kristóf
279f7abd58 i18n: add Hungarian translations (#1023)
* add Hungarian translations

* typo: _ instead of - in hu-HU

* run prettier

* revert prettier messing up tsconfig

* Update hu-HU.ts
2024-03-24 09:35:07 -07:00
Mara-Li
0f18b96820 feat(i18n): Add French translation for reading time (#998)
Signed-off-by: Mara-Li <lili.simonetti@outlook.fr>
2024-03-15 18:28:31 -04:00
Mara-Li
67bfc90c9b fix: spelling error (#987)
I really don't know why I translated this like that into "pas trouvé", and it bugged me a lot. I finally fixed it…

Signed-off-by: Mara-Li <lili.simonetti@outlook.fr>
2024-03-11 09:46:53 -07:00
HakuGuen
2ac4b5760d feat(i18n): add Vietnamese translation (#950) 2024-02-29 19:14:20 -05:00
Eiko Wagenknecht
a9a65043b9 fix: add space and missing dot for listing pages (#907) 2024-02-20 09:45:10 -05:00
JONG HWAN KIM
2efb7c819e feat(i18n): change itemsUnderFolder, itemsUnderTag translation of ko-KR (#905)
* feat(i18n): add Korean

* feat(i18n): add Korean

* feat(i18n): change itemsUnderFolder, itemsUnderTag translation of ko-KR
2024-02-19 22:36:54 -08:00
KylinDC
618ab99963 feat(i18n): add Simplified Chinese (#896) 2024-02-19 13:31:09 -05:00
Leonardo Ledda
1ea77effca feat(i18n): Add Italian (#893)
Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
2024-02-19 12:50:01 -05:00
JONG HWAN KIM
d5334caac0 feat(i18n): add Korean (#889)
* feat(i18n): add Korean

* feat(i18n): add Korean
2024-02-18 17:37:59 -05:00
makondratev
d132d2d3cd feat(i18n): add Russian (#886) 2024-02-18 13:54:37 -05:00
Emile Bangma
9ce12c9d81 feat(i18n): localize the min read string for the nl-NL locale (#850)
* Update min read translation

* Added nl_BE to Dutch

Added Flemish (nl_BE) to point to nl.

* Removed period to match other translations
2024-02-12 08:58:00 -08:00
Silviu Lorenț
44e378c4d1 feat(i18n): localize the min read string for the ro-RO locale (#847)
* feat(i18n): localize `min read` string for `ro-RO` locale

* chore: run Prettier on `quartz/i18n/locales/ro-RO.ts`
2024-02-11 11:23:58 -08:00
Alq
890a8ab2d9 feat(i18n): localize the min read string (#838)
* feat(i18n): localize the min read string fixes #825

* chore: format
2024-02-11 10:43:08 -08:00
Aaron Pham
3aecbb68db feat(i18n): support parsing callouts (#834)
* feat(i18n): support parsing callouts

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: move callout into components

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* chore: update arabic translation

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

* fix: make sure to use correct items

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>

---------

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-10 17:09:57 -05:00
Alq
6d43f0db54 feat(i18n): add Arabic translation (#837)
* feat(i18n): add Arabic translation

* chore: format
2024-02-10 09:02:28 -08:00
Jacky Zhao
e7529cea55 fix: set default locale for lang attribute 2024-02-08 09:31:36 -08:00
Silviu Lorenț
caaafa7eb0 feat(i18n): use Romanian translation for ro-MD locale (#828) 2024-02-08 08:48:13 -08:00
Serhii Stets
e13244fbd2 added Ukrainian to i18n (#829) 2024-02-08 08:47:12 -08:00
Miguel Pimentel
529d745cd4 add Spanish translations (#822)
* add Spanish translations

* format with prettier

* clears npm ci, formatted w/ prettier
2024-02-07 09:57:14 -08:00
Silviu Lorenț
6be4cc36d6 feat(i18n): add Romanian to i18n (#821) 2024-02-07 11:26:45 -05:00
Jacky Zhao
d74e34b09b fix(i18n): add default locale 2024-02-05 14:19:21 -08:00
Emile Bangma
cbe9f315f8 feat(i18n): Add Dutch to i18n (#813)
* Create nl-NL.ts

* Update index.ts

* Update nl-NL.ts
2024-02-05 13:12:54 -08:00
817dbb23f7 feat(i18n): Add Japanese to i18n (#809)
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-02-05 08:58:31 -08:00
Mats Fangohr
d755ccb756 feat(i18n): German translation (#808) 2024-02-05 09:59:58 -05:00
Jacky Zhao
340684c01f chore(i18n): refactor and cleanup (#805)
* checkpoint

* finish

* docs
2024-02-04 20:57:10 -08:00
Mats Fangohr
9972e38e78 fix(i18n): backlinks naming in mapping (#800) 2024-02-04 09:48:31 -05:00
Mara-Li
7adfbce524 feat: Adding support for i18n (closes #462) (#738)
* fix: alt error mix with height/width

More granular detection of alt and resize in image

* fix: format

* feat: init i18n

* feat: add translation

* style: prettier for test

* fix: build-up the locale to fusion with dateLocale

* style: run prettier

* remove cursed file

* refactor: remove i18n library and use locale way instead

* format with prettier

* forgot to remove test

* prevent merging error

* format

* format

* fix: allow string for locale
- Check during translation if valid / existing locale
- Allow to use "en" and "en-US" for example
- Add fallback directly in the function
- Add default key in the function
- Add docstring to cfg.ts

* forgot item translation

* remove unused locale variable

* forgot to remove fr-FR testing

* format
2024-02-03 19:55:24 -08:00