about summary refs log tree commit diff
path: root/src/locale/helpers.ts
Commit message (Collapse)AuthorAgeFilesLines
* Alphabetise languages by language code (#3350)surfdude292024-04-041-6/+6
| | | | | | | | | | | | | * Alphabetise languages in lingui.config.js * Alphabetise languages in helpers.ts * Alphabetise languages in i18n.ts * Alphabetise languages in i18n.ts * Alphabetise languages in i18n.web.ts * Alphabetise languages in languages.ts
* Irish PO file thanks to @kingdonncha1.bsky.social (#2924)Kevin Scannell2024-04-031-0/+2
| | | | | | | | | * Irish PO file thanks to @kingdonncha1.bsky.social * feat: add Gaeilge options added by @kscanne into the GUI --------- Co-authored-by: Kat Gaea <kat.knight@newgaea.net>
* Add turkish to app languagesPaul Frazee2024-04-031-1/+4
|
* Add zh-TW localization (#2781)Frudrax Cheng2024-04-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add zh-TW localization * fix typo * fix languages.ts * improve translation * improve translation * 部分翻譯修正 - 使用全形標點符號 - 將部分簡體字修正為正體字 - 更改部分用語 * fix incorrectly commented strings * small fix and suggestion * update translation team * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * modify the translation based on the review suggestions * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: noeFly <jeffyang0123@gmail.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: noeFly <jeffyang0123@gmail.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: noeFly <jeffyang0123@gmail.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> * modify translation by review * modify translation by review * modify translation by review * modify translation by review * modify translation by review * modify translation by review * minor fixes * minor fixes * Update messages.po * translate new strings * fix typo * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Howard Guo <50100922+toto6038@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Howard Guo <50100922+toto6038@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Howard Guo <50100922+toto6038@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Howard Guo <50100922+toto6038@users.noreply.github.com> * Update src/locale/locales/zh-TW/messages.po Co-authored-by: Howard Guo <50100922+toto6038@users.noreply.github.com> * Update messages.po * Update messages.po * Update messages.po * Update messages.po * fixed typo * Update messages.po * correct translation * Update messages.po * modify translation by review * Update messages.po * Update messages.po --------- Co-authored-by: noeFly <jeffyang0123@gmail.com> Co-authored-by: Kuwa Lee <kuwalee1069@gmail.com> Co-authored-by: Yuki Cheung <13027432+snowleo208@users.noreply.github.com> Co-authored-by: Howard Guo <50100922+toto6038@users.noreply.github.com>
* Update helpers.tsJan-Olof Eriksson2024-02-191-0/+2
| | | Added Finnish
* Add italian to app languagesPaul Frazee2024-02-131-0/+2
|
* Chinese localization (#2668)Frudrax Cheng2024-02-051-0/+2
| | | | | | | | | | | | | | | | | | | | | * Chinese localization * fixed languages.ts typo * crosscheck with proofreading of translation * fixed messages.po string styles * a minor adjustment * Update Chinese localization * fixed a typo & modify the translation of handle * based on the latest messages.po translation * removed unused strings * based on the latest messages.po translation
* Re-enable german translationPaul Frazee2024-01-231-3/+2
|
* Add catalanPaul Frazee2024-01-181-0/+2
|
* Suggest post language correction (#2486)Paul Frazee2024-01-121-0/+8
| | | | | | | | | | | | | | | | | * feat: suggested language * fix: wording correction * Factor out SuggestedLanguage into a separate component * Tighten the language-suggestion confidence to avoid false positives * Tweak the copy and UI * Add function fallbacks for safari --------- Co-authored-by: Mary <pineapplecreamcheese@skiff.com>
* Reorder the locales alphabetically and correct the name for Indonesian (#2483)Minseo Lee2024-01-101-2/+2
|
* Add Indonesian localization (#2356)Danni2024-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Indonesian (id) locale * Add Indonesian translation messages * Update team number and add some translation * Update for better ID translation * Apply suggestions from code review Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com> Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com> * Apply suggestions from code review Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> * Change translation post to postingan * Update translation * Fix error * Apply suggestions from code review Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> * Add Thinkbyte1024 and mary-ext to language team ID * Update username to lowercase --------- Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com> Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com> Co-authored-by: Ansh <anshnanda10@gmail.com>
* Add Ukrainian localization (#2336)Max Ignatenko2024-01-041-0/+2
|
* Add Portuguese Localization (#2407)Ansh2024-01-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create messages. * Update helpers.test.ts * Update helpers.ts * Update i18n.ts * Update i18n.web.ts * Update languages.ts * Update i18n.ts * Update lingui.config.js * Correct file name and remove unused variables! * Update Language-Team * Update Bump ios build * Fix for Stop the user from posting before the link card finishes loading #2328 * Update based in model en * Update last version lang * Update messages.po tsx:160 and tsx:143 * Bump ios build number and android version code * adjustment * adjustment 100% * Update Date * Update Day for Merge * Update Name Maison for Maison da Silva * fix order of case * fix lint * add tag for BR portugese * add tag for BR * update `pt` to `pt-BR` --------- Co-authored-by: Maison da Silva <maisonmdsgreen@hotmail.com>
* Enable Spanish Localization (#2405)Ansh2024-01-031-2/+2
| | | | | | | * add `es` to `lingui.config.js` * update messages.po * enable spanish localization
* Add Korean localization (#2395)Minseo Lee2024-01-031-6/+8
| | | | | * Create messages.po * Add Korean localization
* Disable spanish translation until it's more thoroughly reviewed (#2362)Paul Frazee2023-12-281-2/+3
| | | | | * Disable spanish translation until it's more thoroughly reviewed * missed a line
* Temporarily disable the german translation (#2360)Paul Frazee2023-12-281-2/+3
|
* Add Spanish localization (#2267)Ansh2023-12-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add french localization * get dynamic import to work * fix broken strings * fix bug * fix tests * build files again * add german locale * Add german translated strings * update file details * fix plural case errors * make german translations work * add 'es' as a locale option * enable spanish translations * fix spelling mistake
* Add French localization (#2265)Ansh2023-12-221-0/+2
|
* Japanese localization (#2003)Ansh2023-12-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * add japanese to list of languages * add japanese translations * change `jp` to `ja` * minor changes to Japanese translation * minor changes to Japanese translation * update japanese strings with feedback * Update languages.ts * Extract translations * Gitignore new compiled file * allow switching to japanese --------- Co-authored-by: Jake Gold <jake@blueskyweb.xyz> Co-authored-by: Eric Bailey <git@esb.lol>
* i18n settings improvements (#2184)Eric Bailey2023-12-121-5/+28
| | | | | | | | | * Handle language selector * Improve type safety * Add a little more safety * Update comment
* Patch bad migration, sanitize bad value (#2179)Eric Bailey2023-12-111-0/+12
|
* Language settings updates, new primary language setting (#1471)Eric Bailey2023-09-211-2/+2
| | | | | | | | | | | | | | | * move content languages to screen * add dropdown library, style primary lang select * update settings button * show selected langauges in button * use primary language in translator link * update copy * lint
* encode all unsafe characters in post text for translate URL (#1345)Eric Bailey2023-08-311-1/+3
|
* default translate to device language (#1207)Eric Bailey2023-08-171-4/+2
|
* [APP-735] Post language improvements (#982)Paul Frazee2023-07-061-0/+5
| | | | | | | | | | | | | | | | | * Fix composer character-counter bouncing around UI elements * Fix composer toolbar padding when keyboard is dismissed on iOS * Use the full name of the language in the composer footer * Add headings to the DropdownButton * Update the composer language control to use a simpler dropdown * Fix lint * Add translate link to Post component used in notifications * Fix lint
* [APP-718] Improvements and fixes to language handling (#931)Paul Frazee2023-06-301-0/+81
* Add locale helpers for narrowing languages * Add a translate link to posts in a different language * Update language filtering to use narrowing when multiple declared * Fix a few more RTL layout cases * Fix types