multisite-bundle
multisite-bundle copied to clipboard
Can't be change current branding or locale
Hi evry one,
I have this configuration
alex_multisite:
default_branding: sandbox_france
default_locale: fr_FR
brandings:
_defaults:
register: true
sandbox_france:
en: { host: sandbox_fr.localhost, prefix: /en }
fr_FR: { host: sandbox_fr.localhost }
sandbox_belgium:
en_BE: { host: sandbox_be.localhost, prefix: /en }
fr_BE: { host: sandbox_be.localhost }
sandbox_canada:
en_CA: { host: sandbox_ca.localhost, prefix: /en }
fr_CA: { host: sandbox_ca.localhost }
Here is the result of the php app / console router command: debug
[router] Current routes
Name Method Scheme Host Path
_wdt ANY ANY ANY /_wdt/{token}
_profiler_home ANY ANY ANY /_profiler/
_profiler_search ANY ANY ANY /_profiler/search
_profiler_search_bar ANY ANY ANY /_profiler/search_bar
_profiler_purge ANY ANY ANY /_profiler/purge
_profiler_info ANY ANY ANY /_profiler/info/{about}
_profiler_import ANY ANY ANY /_profiler/import
_profiler_export ANY ANY ANY /_profiler/export/{token}.txt
_profiler_phpinfo ANY ANY ANY /_profiler/phpinfo
_profiler_search_results ANY ANY ANY /_profiler/{token}/search/results
_profiler ANY ANY ANY /_profiler/{token}
_profiler_router ANY ANY ANY /_profiler/{token}/router
_profiler_exception ANY ANY ANY /_profiler/{token}/exception
_profiler_exception_css ANY ANY ANY /_profiler/{token}/exception.css
_configurator_home ANY ANY ANY /_configurator/
_configurator_step ANY ANY ANY /_configurator/step/{index}
_configurator_final ANY ANY ANY /_configurator/final
fos_user_security_login ANY ANY ANY /login
fos_user_security_check POST ANY ANY /login_check
fos_user_security_logout ANY ANY ANY /logout
fos_user_profile_show GET ANY ANY /profile/
fos_user_profile_edit ANY ANY ANY /profile/edit
fos_user_registration_register ANY ANY ANY /register/
fos_user_registration_check_email GET ANY ANY /register/check-email
fos_user_registration_confirm GET ANY ANY /register/confirm/{token}
fos_user_registration_confirmed GET ANY ANY /register/confirmed
fos_user_resetting_request GET ANY ANY /resetting/request
fos_user_resetting_send_email POST ANY ANY /resetting/send-email
fos_user_resetting_check_email GET ANY ANY /resetting/check-email
fos_user_resetting_reset GET|POST ANY ANY /resetting/reset/{token}
fos_user_change_password GET|POST ANY ANY /change-password/change-password
fos_user_group_list GET ANY ANY /group/list
fos_user_group_new ANY ANY ANY /group/new
fos_user_group_show GET ANY ANY /group/{groupname}
fos_user_group_edit ANY ANY ANY /group/{groupname}/edit
_i18n__sandbox_france_fr_FR__news_list ANY ANY sandbox3_fr.localhost /news/actualite
_i18n__sandbox_france_fr_FR__sandbox_news_show ANY ANY sandbox3_fr.localhost /news/actualite/{slug}
_i18n__sandbox_france_en__news_list ANY ANY sandbox3_fr.localhost /news/en/news
_i18n__sandbox_france_en__sandbox_news_show ANY ANY sandbox3_fr.localhost /news/en/news/{slug}
_i18n__sandbox_canada_fr_CA__news_list ANY ANY sandbox3_ca.localhost /news/actualite
_i18n__sandbox_canada_fr_CA__sandbox_news_show ANY ANY sandbox3_ca.localhost /news/actualite/{slug}
_i18n__sandbox_canada_en_CA__news_list ANY ANY sandbox3_ca.localhost /news/en/news
_i18n__sandbox_canada_en_CA__sandbox_news_show ANY ANY sandbox3_ca.localhost /news/en/news/{slug}
_i18n__sandbox_belgium_fr_BE__news_list ANY ANY sandbox3_be.localhost /news/actualite
_i18n__sandbox_belgium_fr_BE__sandbox_news_show ANY ANY sandbox3_be.localhost /news/actualite/{slug}
_i18n__sandbox_belgium_en_BE__news_list ANY ANY sandbox3_be.localhost /news/en/news
_i18n__sandbox_belgium_en_BE__sandbox_news_show ANY ANY sandbox3_be.localhost /news/en/news/{slug}
My problem is that when I want to view the domain 'sandbox_canada' is my local household communications that defines the file configurationconfig.yml
, namely fr_FR
.
Have you any idea?
Hey @ThibautAlgrin, is this problem still up to date?