Skip to content
Snippets Groups Projects
Commit 6f229291 authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

update: add component translation

parent acfd35f1
No related branches found
No related tags found
Loading
Loading
  • Owner

    Hi @matthieu ! Very cool to contribute to this tuto!

    But I have few questions :

    • I can make component works without constructor. Should I advise to set it in every component even it's not mandatory ?
    • You mention a setTranslationsPath method but where it is ?

    Thank you!!

  • Maintainer

    I can make component works without constructor. Should I advise to set it in every component even it's not mandatory ?

    No you don't have to. If people don't need to translate their component, they don't have to put it. If they do, they will add it when following this step.

    You mention a setTranslationsPath method but where it is ?

    What do you mean? Where the function is defined? It's provided by SolidTemplateElement, so the only thing you have to do is use the function, nothing more

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment