Skip to content
#

internationalization

Here are 922 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

datafoo
datafoo commented May 25, 2021

Describe the bug
Extracting messages that occurs in several places in the code results in an entry containing all references on a dedicated line:

#: js/chart/HistoryChart.tsx:74
#: js/chart/LiveChart.tsx:77
msgid "Loading chart…"
msgstr ""

Expected behavior
Extracting messages that occurs in several places in the code should result in an entry containing all reference

weblate
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

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