Articles on: Developers

Multiple Languages

Changelogfy supports messages with multiple languages.


Which is good if you have users who speak different languages around the world, as is the case with Changelogfy.

Add Languages


The first step is to add languages into your project by Admin > Languages > Add Language

Every language have one code, like a en, pt_BR, es, fr, it and etc. That code is important to the next step.

1.



2.




JavaScript


After you add all languages required by your project, you can pass the language attribute to the widget to change the widget language.

<script>
    var CLF_config = {
        selector: ".changelogfy-widget",
        app_id: "PROJECT_SECRET_TOKEN",
        language: "pt_BR" // language code
    };
</script>
<script async src="https://widget.changelogfy.com/index.js"></script>


That way you can change the widget language by your users language.

If you still have questions, please contact us by chat.

Updated on: 03/30/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!