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.js
use
field like this:Unfortunately, when I call
serverSideTranslations
function, my plugin'sread
method is never executed, because, as I assume,serverSideTranslations
tries to get translation files from thepublic/locales
folder.My question is: can we somehow tell
serverSideTranslations
to use custom backend's read function instead?Beta Was this translation helpful? Give feedback.
All reactions