Skip to content
#

internationalization

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

Maskim
Maskim commented Nov 2, 2020

Hello,

I'm using vue-i18n on my nuxt app with typescript.

I have a simple question :
Why in

declare module 'vue/types/options' {
	interface ComponentOptions<V extends Vue> {
		i18n?: {
			messages?: VueI18n.LocaleMessages
			dateTimeFormats?: VueI18n.DateTimeFormats
			numberFormats?: VueI18n.NumberFormats
			sharedMessages?: VueI18n.LocaleMessages
		}
	}
}

`local

help wanted good first issue Type: Improvement
weblate
Geeyun-JY3
Geeyun-JY3 commented Apr 7, 2022

Describe the problem

For now, whatever Translation editor mode the user chose, clicking the link of strings on the search page and browse page always open the full editor.

Describe the solution you'd like

Open strings in the user preferred Translation editor mode on the search page and browse page

Describe alternatives you've considered

No response

Screenshots

enhancement help wanted good first issue ux
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
sffc
sffc commented Apr 13, 2022

In #1767 I introduced the concept of ShortVec in Locale, but only for Keywords and Fields.

If we extend the use of ShortVec to other places in Locale that currently use Vec, then we will be able to enable code such as:

locale!("en-US-u-ca-buddhist")
langid!("es-CA-valencia")

and basically any other situation where there is exactly 0 or 1 of everything. It also

T-enhancement good first issue help wanted C-locale

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