Skip to content
#

i18n

Here are 2,446 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

❄️ A React-Native Android iOS Starter App/ BoilerPlate / Example with Redux, RN Router, & Jest with the Snowflake Hapi Server running locally or on RedHat OpenShift for the backend, or a Parse Server running locally or remotely on Heroku

  • Updated Mar 7, 2019
  • JavaScript
pauloborges
pauloborges commented Feb 5, 2021

Describe the bug

Given a message like {input, plural, other {# + #}}, one would expect both # placeholders getting replaced by the plural value. But only the first one is actually replaced.

To Reproduce

import { plural } from "@lingui/macro"

export default function App() {
  const message = plural(5, {
    other: '# + #
  })
  return <p>{message}</p>
}
weblate
tomkolp
tomkolp commented Mar 20, 2021

Describe the solution you'd like

Accepting suggestions now requires loading the string twice if you want to accept the suggestion and set it to "approved" status.
If we click "accept", the next string will be loaded and we have to go back. If you click "accept and edit", you have to wait for the translation to be inserted just to change the status, and then load the next string.

It can

Improve this page

Add a description, image, and links to the i18n 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 i18n topic, visit your repo's landing page and select "manage topics."

Learn more