<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* PimUIBundle:Locale:_flag.html.twig */
class __TwigTemplate_7fe5811975131f1d8eef4a6db8b7199e30b70afa8495bdb59df0cd96efad745d extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "<span class=\"flag-language\">
    <i class=\"flag flag-";
        // line 2
        echo twig_escape_filter($this->env, twig_lower_filter($this->env, ($context["region"] ?? null)), "html", null, true);
        echo "\"></i>
    ";
        // line 3
        if (($context["short"] ?? null)) {
            // line 4
            echo "        <span class=\"language\">";
            echo twig_escape_filter($this->env, twig_lower_filter($this->env, ($context["language"] ?? null)), "html", null, true);
            echo "</span>
    ";
        } else {
            // line 6
            echo "        ";
            echo twig_escape_filter($this->env, ($context["label"] ?? null), "html", null, true);
            echo "
    ";
        }
        // line 8
        echo "</span>
";
    }

    public function getTemplateName()
    {
        return "PimUIBundle:Locale:_flag.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  51 => 8,  45 => 6,  39 => 4,  37 => 3,  33 => 2,  30 => 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("", "PimUIBundle:Locale:_flag.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/UIBundle/Resources/views/Locale/_flag.html.twig");
    }
}
