﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27040	{%trans 'String' %} does not translate	Peter Balazek	nobody	"I am using Django 1.8.13. In the project I developed, I also use translation. 

Everything worked fine, until one select box item didn't want to translate. So I focused on it. When I refreshed the website, the translation appeared for a second, then the basic string returned. I tried to rename the translation string, recompiled messages for POEdit, tried everything from scratch. Nothing worked.

I added the same string to others - working - select boxes and it worked. Changing the select box id parameter from ""base"" to any other worked suddenly. 

'''Code that is causing issues:'''

{{{

                                        <div class=""medium-3 columns"">
                                            <label for=""base"">{% trans 'Base' %}</label>
                                            <select id=""base"" name=""base"">
                                                <option value="""">{% trans 'Any' %}</option>
                                                {% for base_id, name in select_bases %}
                                                    <option value=""{{ base_id }}"">{{ name }}</option>
                                                {% endfor %}
                                            </select>
                                        </div>
}}}

'''Removing ""base"" from select suddenly works:'''

{{{
                                        <div class=""medium-3 columns"">
                                            <label for=""test12"">{% trans 'Base' %}</label>
                                            <select id=""test12"" name=""test12"">
                                                <option value="""">{% trans 'Any' %}</option>
                                                {% for base_id, name in select_bases %}
                                                    <option value=""{{ base_id }}"">{{ name }}</option>
                                                {% endfor %}
                                            </select>
                                        </div>
}}}



"	Bug	closed	Uncategorized	1.8	Normal	worksforme	translate		Unreviewed	0	0	0	0	0	0
