Skip to content

Paraglide for React Native? #3056

Discussion options

You must be logged in to vote

Hi @tobimori,

  1. Why do you want to move from i18next? (You can use inlang apps with the i18next plugin)

  2. You should be able to use Paraglide JS but might need to wire up your React Native app to re-render when the language is changed. That is trivial to achieve (pseudocode):

import { onSetLanguageTag } from "paraglide"

onSetLanguageTag(() => {
  triggerRerender()
})

I've gathered, paraglide mostly makes use of SSR/backend compiling stuff?

No, Paraglide JS works with plain JS, no server stuff. If you use Paraglide-Next, Paraglide-SvelteKit etc you get SSR stuff. You need to have a compile step though. If you use a bundler, you can compile in the bundle step or use the paraglide vite …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tobimori
Comment options

@samuelstroschein
Comment options

@tobimori
Comment options

@samuelstroschein
Comment options

Answer selected by tobimori
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants