Using custom backend plugin (not locize) #2078
Unanswered
stratienko
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
it should work like you describe it... is there any error? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I want to use PocketBase as my primary translations source. I wrote my own I18n Backend plugin to communicate with PocketBase and included it in my
next-i18next.config.jsusefield like this:Unfortunately, when I call
serverSideTranslationsfunction, my plugin'sreadmethod is never executed, because, as I assume,serverSideTranslationstries to get translation files from thepublic/localesfolder.My question is: can we somehow tell
serverSideTranslationsto use custom backend's read function instead?Beta Was this translation helpful? Give feedback.
All reactions