Skip to content
#

internationalization

Here are 1,090 public repositories matching this topic...

existe-deja
existe-deja commented May 19, 2022

Reporting a bug?

Following the doc I expect to be able to use a Intl.DateTimeFormat inside the $d function the same way I do with $n. But $d only accept string key and object format isn't supported.

For exemple : $d(new Date(), { year: 'numeric' }) But it doesn't work and I have to define all the formats in the config first.

It co

help wanted good first issue Status: PR Welcome Type: Feature
niksauer
niksauer commented Apr 7, 2022

Describe the bug
The output PO file has comments with a leading period:

#. Your free trial will end on August 6th and will not renew.
#: src/components/routes/billing/Status/Status.tsx:56
msgid "and will not renew."
msgstr ""

To Reproduce
Steps to reproduce the behavior, possibly with minimal code sample, e.g:

import { t } from "@lingui/macro"

cons
weblate
Geeyun-JY3
Geeyun-JY3 commented Jul 1, 2022

Describe the issue

The sort button is always the same (sort-ascending) after the page is loaded.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

  1. Go to any page with the sort button
  2. Click the sort button
  3. See that the order is changed but
bug good first issue
Ketec
Ketec commented Jun 15, 2021

If the locale is set using this.translocoLocaleService.setLocale(locale) (or default) it is overwritten the moment this.translocoService.setActiveLang(lang); is called.

Because of the https://github.com/ngneat/transloco/blob/master/projects/ngneat/transloco-locale/src/lib/transloco-locale.service.ts
translocoService.langChanges$ subscription.

There is no property or config to disable

enhancement good first issue
Tal500
Tal500 commented Oct 11, 2021

The Problem
The initialization of svelte-i18n sets the preferred language in a global variable.
While this is acceptable for client, it is not acceptable for the server (with SSR).

The server might be async, in which it can proccess at the same time both request for one language and a request for other language.
However, as far as I can see, setting a new locale will override the existin

enhancement help wanted good first issue
icu4x
dminor
dminor commented Jul 6, 2022

Currently TimeFormat takes a template argument to specify the Calendar but this is only strictly necessary for DateFormat and DateTimeFormat. Removing it requires a bit of care with the data import from CLDR, because the time data there is currently packaged per calendar.

Also, TimeFormat and DateTimeFormat share code for loading time data, but the locale used for DateTimeFormat

good first issue help wanted A-design C-datetime

Improve this page

Add a description, image, and links to the internationalization topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the internationalization topic, visit your repo's landing page and select "manage topics."

Learn more