-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
After building, the tolgee server related keys of the project are not effective. #3
Comments
Hey, could you elaborate? What kind of error do you see, or what is the expected behavior? |
In dev mode Tolgee is loading data from directly from tolgee platform, in production mode it's using static files included in the project itself (or can be configured otherwise). So that's probably what's missing. It's documented here: |
How to support loading data from directly from tolgee platform in production mode |
I GET // .use(DevBackend())
export function TolgeeBase() {
return Tolgee().use(FormatIcu()).use(DevTools()).use(DevBackend()).updateDefaults({
apiKey,
apiUrl,
fallbackLanguage: 'en',
});
} |
If you want to have your translations always up-to-date with the platform, you can use content delivery https://docs.tolgee.io/platform/projects_and_organizations/content_delivery/ Fetching translations directly from platform on production is not a good solution because of performance and reliability. |
The text was updated successfully, but these errors were encountered: