Open kleuter opened 7 years ago
I'd love to have an ability to check if a translated string exists, without a warning when building website (i have hundreds of them when using include file).
Example:
{% if page.title %} {% capture page_title %}{% t page.title %}{% endcapture %} {% endif %} {% if page_title == '' %} {% assign page_title = page.title %} {% endif %}
how to do that with a drop-down language selector?
Currently this kind of check doesn't work. Instead, it throws an error. Is there a correct way to check if translated string exists?
I'd love to have an ability to check if a translated string exists, without a warning when building website (i have hundreds of them when using include file).
Example: