Simon Backx
08b37395cf
Added translated placeholder in signup form embed
...
no issue
2023-06-09 13:48:43 +02:00
Sanne de Vries
6cdaf04fcd
Updated NL translations for Portal and Signup Form
...
No ref
2023-06-09 10:53:22 +02:00
Simon Backx
f4a822e7e0
Removed success page for minimal signup form
...
no issue
Shows the success state in the button now.
2023-06-09 10:26:05 +02:00
Zabriskije
f3b60e6c6f
Updated Italian translations ( #16966 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-08 13:33:18 +02:00
Markus Härnvi
bd679e0a81
Updated Swedish translations ( #16964 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-08 13:32:11 +02:00
Duberly, Guarnizo Fuentes Rivera
28bef37d02
Updated Spanish translations ( #16940 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-07 08:57:30 +02:00
EchoBilisim
095a262b14
Updated Turkish translations ( #16937 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-07 08:52:20 +02:00
Daniel Lockyer
2b488945da
Fixed missing newline
2023-06-05 15:25:54 +02:00
Daniel Lockyer
c2c6e54578
Fixed line endings in Croatian translation files
...
- these should be LF and not CRLF
2023-06-05 15:22:39 +02:00
May Kittens Devour Your Soul
dbac82dd36
Added Croatian translations ( #16928 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 14:40:46 +02:00
Ronald Langeveld
acb309679d
Updated Afrikaans translations for Portal
...
no issue
2023-06-05 14:01:47 +02:00
Ronald Langeveld
b3c270e7ed
Updated Afrikaans translations for ghost
2023-06-05 14:00:56 +02:00
Ronald Langeveld
3984dc2b11
Updated Afrikaans translations for Signup-form
...
no issue
2023-06-05 14:00:56 +02:00
Mysterious_Dev
7720ac6b10
Updated French translations for signup-form
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:51:18 +02:00
Keegan Sand
4d3c7d3177
Updated Spanish Portal translations
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:18:23 +02:00
Raka Afp
793ab34c81
Updated Bahasa Indonesia translations for signup-form ( #16932 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:09:41 +02:00
EchoBilisim
8133360020
Updated Turkish translations for signup-form
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:04:07 +02:00
Gary Lai
04e76eced4
Added traditional Chinese translatinos for signup-form ( #16926 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:01:45 +02:00
Simon Backx
498629d9a9
Fixed encoded html character in signup form success message translation
...
no issue
2023-06-02 14:38:54 +02:00
Simon Backx
258dc2f8f2
Added locale data option to signup form script
...
refs https://github.com/TryGhost/Team/issues/3307
2023-06-02 14:36:17 +02:00
Daniel Lockyer
994e0b9b2e
Fixed translations encoding
...
- this slipped in but should be a normal space
2023-06-02 11:06:29 +02:00
Ronald Langeveld
4fcaabe563
Added initial i18n implementation for Signup-form ( #16914 )
...
closes https://github.com/TryGhost/Team/issues/3307
This commit includes several important updates to add internationalisation (i18n) support within the signup form package:
- Modified the translate script in `package.json` to include translations for the signup form.
- Added a new test for the signup form resources in `i18n.test.js`.
- Updated `tsconfig.json` to allow synthetic default imports.
- Made updates to `package.json`, including adding a prebuild command for `@tryghost/i18n` to ensure typescript declaration files get built.
- added `vite-plugin-commonjs` so we can bundle commonjs packages to be useable by the browser.
- In `App.tsx`, imported the `i18n` library and created an `i18n` instance for the `signup-form` namespace. This `i18n` instance's `t` function was added to the application context.
- Updated the `AppContextType` in `AppContext.ts` to include the `t` function from i18n
Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
2023-06-02 11:02:52 +02:00
Andrew Gutierrez
ff335d0e8e
Updated Spanish translations ( #16920 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-02 10:34:45 +02:00
Raka Afp
c21cd827bc
Updated Bahasa Indonesia translations ( #16919 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-06-02 09:07:24 +02:00
Mysterious_Dev
84a0029101
Updated French translations ( #16870 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-31 11:06:33 +02:00
Gary Lai
ae7311e74f
Added Traditional Chinese translations ( #16786 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-31 09:52:42 +02:00
Sam Lord
ee274deae6
Added context strings to all new translatable strings
...
refs: https://github.com/TryGhost/Ghost/issues/16628
Modified a couple of translation strings to reduce complexity and remove duplication
2023-05-30 16:03:32 +01:00
Endrit
066bd4f8df
Added Albanian translations ( #16889 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 10:33:28 +02:00
Yin Guobing
e13cbfa3e6
Updated Chinese translations ( #16881 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 10:17:12 +02:00
EchoBilisim
aba7794ef8
Updated Turkish Ghost translations ( #16879 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 10:13:52 +02:00
EchoBilisim
e253a446f0
Updated Turkish Portal translations ( #16880 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 10:11:22 +02:00
mrpuhis
3f9417ee2c
Added Finnish locale ( #16887 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 09:04:56 +02:00
Sam Lord
7bdb98ff9d
Added empty translations for all locales
...
refs: https://github.com/TryGhost/Ghost/issues/16628
2023-05-25 16:48:56 +01:00
Daniel Lockyer
f2277ded40
Updated member email strings to use i18n function
...
refs https://github.com/TryGhost/Ghost/issues/16628
- this wraps nearly all of the public strings in member signup/signin
emails, so they are ready for translating
2023-05-25 12:25:01 +02:00
Husband of Rebekah
8a6e4cd003
Added Korean translations ( #16866 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-25 09:29:39 +02:00
Silviu
a7e17ce223
Added Romanian translations ( #16834 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-24 11:14:06 +02:00
Daniel Lockyer
bed7479cc2
Fixed loading pt-br translations
...
fixes https://github.com/TryGhost/Ghost/issues/16805
* turns out i18next requires the country portal of the locale to be
capitalized [1]
* this resolves that and moves the files to the correct casing
[1]: https://github.com/i18next/i18next/issues/1467#issuecomment-646305827
2023-05-24 10:27:49 +02:00
Cadoo
5a5853ca80
Added Serbian locale ( #16814 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-24 09:34:15 +02:00
Daniel Lockyer
f8d446da7c
Updated location files
...
- contains changes as applied by i18next-parser
2023-05-12 15:40:17 +02:00
Raka Afp
78a603e0a4
Added Bahasa Indonesia translation ( #16746 )
...
refs https://github.com/TryGhost/Team/issues/2795
- this adds translations for Bahasa Indonesian within Portal and Ghost
2023-05-11 11:42:30 +02:00
Audun
b821136b5e
Added Norwegian translations ( #16749 )
...
refs https://github.com/TryGhost/Team/issues/2795
- this adds Norwegian translations for Portal and Ghost
2023-05-11 11:30:10 +02:00
Umidjon Tukhtaev
ea055e8b74
Added Uzbek locale ( #16758 )
...
refs https://github.com/TryGhost/Team/issues/2795
- this adds Uzbek translations for Portal
2023-05-11 11:25:42 +02:00
Uvindu Rajapakshe
022406b981
Updated Sinhalese translations ( #16638 )
...
refs https://github.com/TryGhost/Team/issues/2795
Co-authored-by: Prabodh Meshram <prabodh.meshram7@gmail.com>
2023-05-11 11:14:51 +02:00
Daniel Lockyer
443ff9079b
Auto-generated translations
...
- this fixes some issues detected by i18next
2023-05-05 13:23:23 +02:00
Eflarus
1e51815f33
Added Russian locale ( #16719 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-05-05 13:22:34 +02:00
Uvindu Rajapakshe
dc1ff890a0
Updated Sinhalese translations ( #16639 )
2023-05-01 16:49:04 +02:00
Zabriskije
f81c7568fe
Fixes for it localization
2023-05-01 15:19:16 +02:00
Andre Rafael
90adb7562b
Added Portuguese locale for Portal
2023-05-01 15:18:36 +02:00
Naz
d2f4c097a0
Added Ukrainian locale for Portal
...
refs https://github.com/TryGhost/Team/issues/2795
- Ukrainian translation - used informal form
2023-04-21 17:26:51 +02:00
Daniel Lockyer
4a032e23b2
Fixed indentation on Slovenian translations
...
- we should be using 4 spaces over 2 spaces here
2023-04-14 08:27:57 +01:00
Daniel Lockyer
75553b6bef
Updated Sinhalese encoding
...
- some characters needed to be re-encoded
2023-04-14 08:16:03 +01:00
martinverbic
d11801d0d4
Updated Slovenian locale ( #16621 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 08:05:48 +01:00
Christian Schou
1285e4480b
Added Danish translation ( #16627 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 08:02:02 +01:00
Kasun Chanuka Fernando
427337633b
Added Sinhalese locale ( #16595 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 07:47:10 +01:00
Alexandre "Lekler" Rodrigues
fd705ccee2
Updated pt-br translations ( #16622 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 07:44:19 +01:00
AreChen
ada0f34d81
Added Chinese locale ( #16623 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 07:42:01 +01:00
Thibault Malfoy
b9014a47f8
Updated French translations to reflect feedback ( #16593 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-10 16:47:32 +02:00
Daniel Lockyer
a97335f7f4
Removed translations for "Powered by Ghost"
...
refs https://github.com/TryGhost/Team/issues/2795
refs https://ghost.slack.com/archives/CFH10N79S/p1681131575137019?thread_ts=1680206445.643819&cid=CFH10N79S
- we want to keep this in English so this commit removes the
translation wrapper and associated translations
2023-04-10 15:13:49 +02:00
Daniel Lockyer
3a0768cfda
Reformatted locale files
...
- perhaps we need better config to enforce this from the get-go
2023-04-10 14:04:51 +02:00
martinverbic
d866993ce2
Added Slovenian locale ( #16594 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-10 13:52:43 +02:00
Ugurcan Yildirim
e446e31a9e
Added Turkish locale ( #16596 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-10 13:52:10 +02:00
Jordan Ostreff
f5f58994f7
Added Bulgarian translations ( #16590 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-10 10:24:35 +02:00
Thibault Malfoy
726246b80e
Fixed a few typos in the French translation ( #16546 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-07 11:16:30 +02:00
Ronald Langeveld
413693800c
Improved Afrikaans locales
...
no issue
- Made improvements to the translation strings.
- Turns out I need to read & write in my mothertongue more often. :)
- Thanks for helping with the contribution Dad, @ Emil Langeveld.
2023-04-07 14:19:55 +08:00
Daniel Lockyer
f3000e40b8
Added missing translation
...
refs https://github.com/TryGhost/Team/issues/2795
- not sure where this disappeared to
2023-04-06 19:51:31 +02:00
Daniel Lockyer
722d22db1c
Fixed broken word in Dutch translations
...
refs https://github.com/TryGhost/Team/issues/2795
- `spam folder` should be two separate words in English but this was
mistakenly changed
2023-04-06 19:51:21 +02:00
Daniel Lockyer
3f783fc892
Fixed newline issue
...
- somehow this snook in
2023-04-06 19:46:27 +02:00
Cuong Tran
e52dc1afb1
Added Vietnamese translations ( #16548 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-06 19:37:15 +02:00
David Stanley
e25cfd98a9
Added Brazilian Portuguese translations ( #16557 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-06 19:35:55 +02:00
Markus Härnvi
39c0867cbc
Added Swedish translations ( #16551 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-06 19:34:28 +02:00
Jesús
79cacabb4e
Added Catalan locale ( #16571 )
...
refs https://github.com/TryGhost/Team/issues/2795
2023-04-06 19:33:43 +02:00
yannickdoteu
98797b4d1a
Added Esperanto locale ( #16541 )
...
refs https://github.com/TryGhost/Team/issues/2795
Co-authored-by: yannickdoteu <see@gitlab.com>
2023-04-06 19:32:31 +02:00
marcoborghesi
b7f8a3e861
Added Italian locale for Portal
2023-04-06 19:30:17 +02:00
Aileen Nowak
45b5c50c45
Fixed typo in german translation for portal
...
no issue
2023-04-04 11:05:50 +01:00
Sanne de Vries
d11fca906c
Updated Dutch translations
...
No ref
2023-04-03 10:20:12 +02:00
Rodrigo Ponce de León
d98cb4803c
Added Spanish locale for Portal ( #16536 )
2023-04-02 10:46:44 -04:00
Anarion
ef820eaaed
Added Polish locale for Portal ( #16533 )
2023-04-02 10:46:24 -04:00
Tomáš Baránek
3792b1a175
Added Czech translations ( #16534 )
2023-04-02 10:40:47 -04:00
Sanne de Vries
f568d29119
Updated Dutch translations
...
No ref
2023-04-01 16:01:56 +02:00
Daniel Lockyer
d58ff309d0
Removed test.json translations
...
- these weren't really doing much and would become a nuisance to
newcomers
2023-03-30 18:20:39 +02:00
Daniel Lockyer
849027e255
Fixed strange whitespace character
2023-03-30 18:19:31 +02:00
John O'Nolan
9c2075d138
Need extra context for translating strings? Open this file!
2023-03-30 10:28:25 -04:00
Simon Backx
8a44e49c05
Added Dutch locale to Portal ( #16459 )
...
refs https://github.com/TryGhost/Team/issues/2795
Dutch translations for portal.json.
2023-03-30 10:02:25 -04:00
Ronald Langeveld
cbe97ad792
Added Afrikaans locale to Portal ( #16464 )
...
refs https://github.com/TryGhost/Team/issues/2795
WIP - getting some additional eyes on it 👨🏼🏫 .
---------
Co-authored-by: John O'Nolan <john@ghost.org>
2023-03-30 10:01:29 -04:00
Sodbileg Gansukh
83795edcad
Added Mongolian locale to Portal ( #16465 )
...
no issues
Co-authored-by: John O'Nolan <john@ghost.org>
2023-03-30 09:59:18 -04:00
Aileen Booker
3f23fefaf5
Added German locale for Portal ( #16469 )
...
refs https://github.com/TryGhost/Team/issues/2795
- Used informal form ('du')
Happy for feedback!!!
2023-03-30 09:58:01 -04:00
Peter Zimon
79bb55a737
Added Hungarian locale for Portal ( #16488 )
...
Hungarian translation for email contents and Portal.
2023-03-30 09:57:09 -04:00
John O'Nolan
55741c8bdc
Add i18n context
2023-03-23 12:07:12 -04:00
Daniel Lockyer
3432857f9a
Added locales/context.json
to help with translating
...
refs https://ghost.slack.com/archives/CFH10N79S/p1679491616052209?thread_ts=1679411948.063929&cid=CFH10N79S
- this adds a small script to generate a `context.json` file, which
contains all keys and allows people to provide context on the
translation
2023-03-23 16:29:59 +01:00
Sagar Gupta
7f92014c58
Added French (fr) translations
...
refs https://github.com/TryGhost/Team/issues/2795
- Used informal form ("tu")
2023-03-22 09:24:03 +01:00
Daniel Lockyer
dda1d7cf26
Removed emojis from i18n strings
...
refs https://github.com/TryGhost/Ghost/issues/15502
- these aren't going to change across languages so we can exclude them
from the strings to simplify things
2023-03-16 20:52:39 +01:00
Daniel Lockyer
dc0f021b99
Refactored i18n plaintext email translations to split on newline
...
refs https://github.com/TryGhost/Ghost/issues/15502
- this makes the translations files a lot nicer because they only
contain one line per key
2023-03-16 17:25:22 +01:00
Daniel Lockyer
330e86944c
Added example translation for emails within Ghost
...
refs https://github.com/TryGhost/Ghost/issues/15502
- this adds the i18n translation wrapper to the titles, plaintext
versions and one HTML version of the member emails
2023-03-16 16:09:55 +01:00
Daniel Lockyer
21ea426794
Added i18n service to Ghost core
...
refs https://github.com/TryGhost/Ghost/issues/15502
- this adds the scaffolding for enabling i18n translations within Ghost
core
- also adds `yarn translate:ghost` as an option to the `i18n` package
- the locale is currently hardcoded to `en` so we don't utilize the
translations until we're ready
2023-03-16 14:50:50 +01:00
Daniel Lockyer
6d8ca23625
Added support for namespaces to i18n package
...
refs https://github.com/TryGhost/Ghost/issues/15502
- this adds support for namespaces to the i18n package so we can
separate translations for different packages
2023-03-01 10:24:08 +01:00
Daniel Lockyer
acf2ab2d22
Added translation wrapper to public-facing strings in Portal
...
refs https://github.com/TryGhost/Ghost/issues/15502
- in order to use the translations, strings must be wrapped in the `t`
function, which is passed through AppContext
- whilst I haven't instrumented all public strings, the vast majority
are done here and the strings have been brought into the JSON locale files using `yarn translate:generate`
2023-02-28 10:03:04 +01:00
Daniel Lockyer
badbdbbedd
Renamed yarn translate:portal
to yarn translate:generate
...
refs https://github.com/TryGhost/Ghost/issues/15502
- needed to add the `i18n` tests so we don't lose the "Hello" test I
wrote, and keeping everything under one command is easier
2023-02-20 16:55:54 +01:00
Daniel Lockyer
fb030353fe
Moved i18n translations into JSON files
...
refs https://github.com/TryGhost/Ghost/issues/15502
- plain JSON files are cleaner and less overwhelming than boilerplate JS
files, and given they're going to be automatically generated, we
probably won't be able to support comments anyway
2023-01-18 17:03:22 +01:00
Daniel Lockyer
0d9268ad86
Added i18n package
...
refs https://github.com/TryGhost/Ghost/issues/15502
- this is an early implementation of an i18n provider by
exporting an instance of `i18next`
- there's a lot more to be done here but baby steps :)
2023-01-18 13:54:14 +01:00