parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
// line 1
$context["css_classes_flag"] = \WPML\Core\twig_trim_filter(("wpml-ls-flag " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_flag", [])));
// line 2
$context["css_classes_native"] = \WPML\Core\twig_trim_filter(("wpml-ls-native " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_native", [])));
// line 3
$context["css_classes_display"] = \WPML\Core\twig_trim_filter(("wpml-ls-display " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_display", [])));
// line 4
$context["css_classes_bracket"] = \WPML\Core\twig_trim_filter(("wpml-ls-bracket " . $this->getAttribute(($context["backward_compatibility"] ?? null), "css_classes_bracket", [])));
// line 5
echo "
";
// line 6
$this->loadTemplate("flag.twig", "template.twig", 6)->display(twig_array_merge($context, ["language" => ["flag_url" => ($context["flag_url"] ?? null), "flag_alt" => ($context["flag_alt"] ?? null), "flag_width" => ($context["flag_width"] ?? null), "flag_height" => ($context["flag_height"] ?? null)], "css_classes_flag" => ($context["css_classes_flag"] ?? null)]));
// line 9
if (($context["native_name"] ?? null)) {
// line 10
echo "env, ($context["css_classes_native"] ?? null), "html", null, true);
echo "\" lang=\"";
echo \WPML\Core\twig_escape_filter($this->env, ($context["code"] ?? null), "html", null, true);
echo "\">";
echo \WPML\Core\twig_escape_filter($this->env, ($context["native_name"] ?? null), "html", null, true);
echo "";
}
// line 13
if ((($context["display_name"] ?? null) && (($context["display_name"] ?? null) != ($context["native_name"] ?? null)))) {
// line 14
echo "env, ($context["css_classes_display"] ?? null), "html", null, true);
echo "\">";
// line 15
if (($context["native_name"] ?? null)) {
echo "env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\"> (";
}
// line 16
echo \WPML\Core\twig_escape_filter($this->env, ($context["display_name"] ?? null), "html", null, true);
// line 17
if (($context["native_name"] ?? null)) {
echo "env, ($context["css_classes_bracket"] ?? null), "html", null, true);
echo "\">)";
}
// line 18
echo "";
}
}
public function getTemplateName()
{
return "template.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 18, 70 => 17, 68 => 16, 62 => 15, 58 => 14, 56 => 13, 47 => 10, 45 => 9, 43 => 6, 40 => 5, 38 => 4, 36 => 3, 34 => 2, 32 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("", "template.twig", "/var/www/vhosts/doitinpoland.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/template.twig");
}
}