Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up FE infrastructure for i18n / translations / internationalization #58

Open
peebeejay opened this issue Aug 10, 2021 · 0 comments
Open
Labels

Comments

@peebeejay
Copy link
Collaborator

peebeejay commented Aug 10, 2021

Set up the infrastructure for translations within the app.

Could take a look at this tutorial -> https://phrase.com/blog/posts/building-an-electron-app-with-internationalization-i18n/

One option, we could translate strings in the following pattern:

import { translate } from 'some-i18n-library';

export const RandomComponent = () => {
  return (
    <Header>{ translate("This is the header") }</ Header>
  };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant