https://supertokens.com/ logo
Docs
Join the conversationJoin Discord
Channels
community
contributing
general
github-activity
info
introductions
new-releases
random
security
support-questions
welcome-0xdelusion
welcome-aj-ya
welcome-aleksandrc
welcome-alpinjs
welcome-amberlamps1
welcome-andrew-rodriguez
welcome-ankit-choudhary
welcome-anthony-stod-custodio
welcome-call-in
welcome-chwalbox
welcome-claybiokiller
welcome-co7e
welcome-cosmoecwsa
welcome-devdag
welcome-dinso
welcome-drebotelho
welcome-elio
welcome-ernest
welcome-foxbarrington
welcome-fromscratch
welcome-galto4ir
welcome-goetzum
welcome-hay-kot
welcome-himanshu-kukreja
welcome-hossambarakat
welcome-ichikawakazuto
welcome-jahir9991
welcome-jamesl
welcome-jerry123424
welcome-john-oliver
welcome-jonas-alexanderson
welcome-jxyz
welcome-kelvinwop
welcome-kraz
welcome-lancekey
welcome-leoo
welcome-lukeacollins
welcome-m-j-mon
welcome-malik-khoja
welcome-marco
welcome-mardadi
welcome-meshguy
welcome-metamorph
welcome-mike-tectu
welcome-mirzok
welcome-mozomig
welcome-naberyou66_
welcome-nacer
welcome-namratha
welcome-naveenkumar
welcome-nightlight
welcome-nischith
welcome-notankit
welcome-olawumi
welcome-pavan-kumar-reddy-n
welcome-pineappaul
welcome-poothebear
welcome-rick
welcome-samuel-qosenergy
welcome-samuelstroschein
welcome-shubhamgoel23
welcome-shubhamkaushal
welcome-sidebar
welcome-surajsli
welcome-suyash_
welcome-syntaxerror
welcome-tauno
welcome-tauno
welcome-tawnoz
welcome-teclali
welcome-tls
welcome-turbosepp
welcome-vikram_shadow
welcome-yann
Powered by Linen
support-questions
  • r

    rp

    02/13/2022, 9:39 AM
    That shouldn't be there.
  • u

    user

    02/13/2022, 9:40 AM
    https://supertokens.com/docs/community/getting-started/installation-with-docker
  • r

    rp

    02/13/2022, 9:41 AM
    You are looking at a very old documentation. What you want to see is this: https://supertokens.com/docs/thirdpartyemailpassword/quick-setup/core/with-docker
  • u

    user

    02/13/2022, 9:42 AM
    I see, thanks, google found that on that keyword
  • r

    rp

    02/13/2022, 9:42 AM
    ahh i see. Thanks. We shall fix
  • u

    user

    02/13/2022, 9:43 AM
    Thanks, can't wait to try it, seems a fantastic job
  • r

    rp

    02/13/2022, 9:45 AM
    Thanks 🙂
  • b

    Bruno Diferente

    02/13/2022, 1:15 PM
    Hello there,
  • b

    Bruno Diferente

    02/13/2022, 1:17 PM
    Hope you doing fine ! Been trying to integrate latest release to add internationalization to my current application, but been thru some issues.
  • r

    rp

    02/13/2022, 1:18 PM
    Hmm. What kind of issues?
  • b

    Bruno Diferente

    02/13/2022, 1:20 PM
    I'm using i18next with nextjs and when i specify translation function i get cannot read properties of undefined ('reading translator')
  • r

    rp

    02/13/2022, 1:20 PM
    Can you show me how you have done that please? Some code would help
  • b

    Bruno Diferente

    02/13/2022, 1:20 PM
    Yes why not
  • b

    Bruno Diferente

    02/13/2022, 1:22 PM
    message has been deleted
  • b

    Bruno Diferente

    02/13/2022, 1:23 PM
    btw i made new components and embeded them into existing pages
  • b

    Bruno Diferente

    02/13/2022, 1:23 PM
    message has been deleted
  • r

    rp

    02/13/2022, 1:23 PM
    Have you seen how we do this in our example app that uses i18next: https://github.com/supertokens/supertokens-auth-react/blob/master/examples/with-i18next/src/App.js
  • r

    rp

    02/13/2022, 1:24 PM
    Maybe trying that way will work for you?
  • b

    Bruno Diferente

    02/13/2022, 1:24 PM
    exactly i'm following this one
  • b

    Bruno Diferente

    02/13/2022, 1:24 PM
    but i moved my translation into another file rather than inside i18next.init
  • r

    rp

    02/13/2022, 1:24 PM
    hmmm
  • r

    rp

    02/13/2022, 1:25 PM
    Can I see the error stack?
  • b

    Bruno Diferente

    02/13/2022, 1:25 PM
    message has been deleted
  • r

    rp

    02/13/2022, 1:27 PM
    When giving the
    t
    function to supertokens, can you do it like this:
    ts
    supertokens.init(
      languageTranslations: {
        translationFunc: i18next.t.bind(i18next),
      },
      ...
    )
  • b

    Bruno Diferente

    02/13/2022, 1:27 PM
    Btw should i use useTranslation provided by supertokens or just the i18next one is sufficient
  • r

    rp

    02/13/2022, 1:28 PM
    You can use
    i18next
    and it should work
  • r

    rp

    02/13/2022, 1:29 PM
    Did the bind method work out?
  • b

    Bruno Diferente

    02/13/2022, 1:29 PM
    yes
  • r

    rp

    02/13/2022, 1:29 PM
    ok awesome! So problem solved?
  • r

    rp

    02/13/2022, 1:29 PM
    I'll edit our demo app accordingly.
Powered by Linen
Title
r

rp

02/13/2022, 1:29 PM
I'll edit our demo app accordingly.
View count: 2