diff --git a/config/packages/security.yaml b/config/packages/security.yaml
index e373f16..009c79d 100644
--- a/config/packages/security.yaml
+++ b/config/packages/security.yaml
@@ -21,5 +21,5 @@ security:
# Note: Only the *first* access control that matches will be used
access_control:
# - { path: ^/admin, roles: ROLE_ADMIN }
- - { path: ^/(en|fr|nl|pt)?/schedule, roles: ROLE_USER }
- - { path: ^/(en|fr|nl|pt)?/scheduled, roles: ROLE_USER }
+ - { path: ^/(%languages%)?/schedule, roles: ROLE_USER }
+ - { path: ^/(%languages%)?/scheduled, roles: ROLE_USER }
diff --git a/config/services.yaml b/config/services.yaml
index b99b0e5..e5e7547 100644
--- a/config/services.yaml
+++ b/config/services.yaml
@@ -4,7 +4,8 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
- allowed_language: "fr|en|nl|pt"
+ allowed_language: "fr|en|nl|pt-PT|pt-BR"
+ languages: "(%allowed_language%)?"
services:
# default configuration for services in *this* file
_defaults:
diff --git a/public/img/flags/pt-BR.svg b/public/img/flags/pt-BR.svg
new file mode 100644
index 0000000..061406b
--- /dev/null
+++ b/public/img/flags/pt-BR.svg
@@ -0,0 +1,45 @@
+
diff --git a/public/img/flags/pt.svg b/public/img/flags/pt-PT.svg
similarity index 100%
rename from public/img/flags/pt.svg
rename to public/img/flags/pt-PT.svg
diff --git a/templates/nav.html.twig b/templates/nav.html.twig
index c6fed22..17b95c0 100644
--- a/templates/nav.html.twig
+++ b/templates/nav.html.twig
@@ -45,7 +45,8 @@
English
Français
Nederlands
-
Português
+
Português
+
Brasil