Hi!
I want to insert an inline form on my blog with the ‘Forms’ app, but I have different languages, using the ‘Markets’ feature and the ‘Translate and Adapt’ app.
I have created 5 different forms for 5 languages (EN, DE, FR, IT, ES), each with their own ID.
Is there a liquid tag for Forms, per ID, that I could easily insert in my article template code? This is what it looks like now:
{% assign locale = request.locale %}
{% if locale == 'en' %}
{% render 'form-EN' %}
{% elsif locale == 'de' %}
{% render 'form-DE' %}
{% elsif locale == 'fr' -%}
{% render 'form-FR' %}
{% elsif locale == 'it' -%}
{% render 'form-IT' %}
{% elsif locale == 'es' %}
{% render 'form-ES' %}
{% else %}
{% render 'form-EN' %}
{% endif %}
I would like to use a Forms liquid tag that I can write in my different ‘form-language’ snippets, but I can’t find a solution.
Thanks in advance!
P.S.: I know I could install other translation or forms apps, but that would add some complexity and costs so it’s not ideal.