How the customer changes the portal language and light or dark theme.
At a glance
Field
Value
Status
Available
Route
Top bar of every section
Menu
Language selector and theme selector
Feature flag
None
Who sees it
Every customer
Last verified
2026-11-10 against develop (c10d24f33d)
What it is for
The customer chooses the portal language (Spanish, English, French, Italian or Portuguese) and whether it looks light, dark or follows the device setting.
How to get there
In the top bar: the selector with the flag and language, and the three theme buttons. On mobile the language is only the flag and the theme is a single button with the current theme’s icon.
How language and theme are kept
What the customer sees
Desktop
Mobile
Element
What it does
Language selector
Change language
Theme
Light, Dark, System
Step by step
1
Change language
Opens the selector and picks the language. The address changes (for example from /es/account to /en/account) and the portal shows in that language.
2
Change theme
Taps Light, Dark or System. On mobile, taps the theme button and picks from the menu.
Desktop
Mobile
Dark theme
Theme menu on mobile
Business rules
ID
Rule
R-01
Languages: Spanish (default), English, French, Italian and Portuguese
R-02
The language is in the address; a link in another language opens the portal in that language
R-03
The theme is kept in the portal-customer-theme cookie (and localStorage as a fallback)
R-04
System follows the device’s light or dark setting
States and messages
State
What the customer sees
Why
What to do
Active language
Its flag and name in the selector
Address prefix
—
Active theme
Its button highlighted; on mobile, its icon on the theme button and a ✓ in the menu
Theme cookie
—
Errors
Message
Cause
Backend code
Support action
— (no errors of its own)
—
—
—
Why it works this way
The language in the address lets shared links open in the right language, and the theme cookie lets the server paint the chosen theme from the very first moment, without flicker.
Technical detail
Aspect
Detail
Language
app/lib/shell/language-switcher.tsx, app/i18n/*
Theme
app/lib/theme/* (THEME_COOKIE_NAME)
Texts
messages/{es,en,fr,it,pt}.json
FAQ and support cases
Some texts show in Spanish with the portal in another language
That key’s translation may be missing, or the text comes from the CMS or the merchant in a single language.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"B Brands Docs","colors":{"primary":"#0D5993","light":"#0789C9","dark":"#0D5993"},"logo":{"light":"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-light.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=88608895ccbfda54985581ee6e49b55f","dark":"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-dark.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=2ec709f45e98d62d6cc6a8e23a735c5d"},"favicon":"https://mintcdn.com/bbrands/SChHqGy4T8DLbxhI/favicon.svg?fit=max\u0026auto=format\u0026n=SChHqGy4T8DLbxhI\u0026q=85\u0026s=3364f2bbd048ffc2d9ba3f4ec3de1d4f","api":{"openapi":["api-reference/maihue/lead/openapi.yaml","api-reference/auth/auth/register-migration-openapi.yaml","api-reference/auth/auth/verify-email-openapi.yaml","api-reference/webhook/openapi.yaml","api-reference/permission/api-key/openapi.yaml","api-reference/notification/notification/openapi.yaml","api-reference/notification/notification/read-openapi.yaml","api-reference/notification/inbox/openapi.yaml","api-reference/notification/onesignal-webhook/openapi.yaml","api-reference/maihue/onboarding/openapi.yaml","api-reference/maihue/onboarding/portal-openapi.yaml","api-reference/maihue/form/openapi.yaml","api-reference/maihue/form-answer/openapi.yaml","api-reference/maihue/form-question/openapi.yaml","api-reference/maihue/form-workflow/openapi.yaml","api-reference/maihue/form-workflow-step/openapi.yaml","api-reference/maihue/lead-answer/openapi.yaml","api-reference/permission/api-key-permission/openapi.yaml","api-reference/notification/preference/openapi.yaml","api-reference/notification/platform/openapi.yaml","api-reference/notification/platform/metric-openapi.yaml","api-reference/notification/template-version/openapi.yaml"]},"navbar":{"links":[{"href":"mailto:developers@bbrands.io","label":"Support"}],"primary":{"type":"button","label":"B Brands Lab","href":"https://www.bbrands.io"}},"footer":{"socials":{"github":"https://github.com/bbrandslab","website":"https://www.bbrands.io"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"introduction"},{"language":"es","href":"es/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bbrands","hasAudioNarration":false,"actualSubdomain":"bbrands","customDomains":["docs.bbrands.io"],"gitSource":{"type":"github","owner":"bbrandslab","repo":"bbrands-monorepo","deployBranch":"develop","contentDirectory":"backend/horizon-docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":false,"thumbs":true},"entitlements":{},"buildId":"6b08c32dc560574c778c9718","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"Schemas","count":482},{"language":"default","tag":"API Reference","count":274},{"language":"en","tag":"Horizon Enterprise","count":185},{"language":"es","tag":"Horizon Enterprise","count":185},{"language":"en","tag":"Notifications","count":156},{"language":"es","tag":"Notificaciones","count":156},{"language":"default","tag":"General","count":101},{"language":"default","tag":"Maihue","count":97},{"language":"en","tag":"Events","count":95},{"language":"es","tag":"Eventos","count":95},{"language":"en","tag":"Notification","count":73},{"language":"default","tag":"Account","count":63},{"language":"en","tag":"API Reference","count":61},{"language":"en","tag":"Documentation","count":55},{"language":"es","tag":"Documentación","count":55},{"language":"default","tag":"Product","count":54},{"language":"default","tag":"Webhook","count":49},{"language":"default","tag":"MaihueStreet","count":48},{"language":"en","tag":"Customer portal","count":47},{"language":"es","tag":"Portal de clientes","count":47},{"language":"default","tag":"Code","count":43},{"language":"default","tag":"Permission","count":32},{"language":"es","tag":"Acceso","count":26},{"language":"es","tag":"Primeros pasos","count":21},{"language":"en","tag":"Catalog and templates","count":20},{"language":"es","tag":"Catálogo y plantillas","count":20},{"language":"en","tag":"BBrands Lab","count":19},{"language":"en","tag":"MaihueGo","count":19},{"language":"es","tag":"BBrands Lab","count":19},{"language":"es","tag":"MaihueGo","count":19}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar a img{height:3rem!important}.wave-status{align-items:baseline;border:1px solid;border-radius:0.75rem;display:flex;flex-wrap:wrap;font-size:0.875rem;gap:0.25rem 0.5rem;line-height:1.5;margin:0.75rem 0;padding:0.5rem 0.75rem}.wave-status a{border-bottom:0;color:inherit;font-weight:600;text-decoration:none}.wave-status a:hover{text-decoration:underline}.wave-status--active{background:#ecfdf5;border-color:rgb(16 185 129 / 0.35);color:#064e3b}.wave-status--planned{background:#fffbeb;border-color:rgb(245 158 11 / 0.35);color:#78350f}.dark .wave-status--active{background:rgb(16 185 129 / 0.1);color:#a7f3d0}.dark .wave-status--planned{background:rgb(245 158 11 / 0.1);color:#fde68a}"}]}
{"page":{"pagePath":"portal-customer/preferences","slug":"/portal-customer/preferences","pageMetadata":{"title":"Language and theme","sidebarTitle":"Language and theme","description":"How the customer changes the portal language and light or dark theme.","status":"available","route":"Top bar","flags":[],"lastVerified":"2026-11-12","auditedCommit":"c10d24f33d","href":"/portal-customer/preferences"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How the customer changes the portal language and light or dark theme.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Frame,Heading,OptimizedImage,Step,Steps,Tab,Table,Tabs}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`at-a-glance`,children:`At a glance`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Status`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Available`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Route`}),_jsx(_components.td,{children:`Top bar of every section`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Menu`}),_jsx(_components.td,{children:`Language selector and theme selector`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Feature flag`}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Who sees it`}),_jsx(_components.td,{children:`Every customer`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Last verified`}),_jsxs(_components.td,{children:[`2026-11-10 against `,_jsx(_components.code,{children:`develop`}),` (`,_jsx(_components.code,{children:`c10d24f33d`}),`)`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-it-is-for`,children:`What it is for`}),`\n`,_jsx(_components.p,{children:`The customer chooses the portal language (Spanish, English, French, Italian or Portuguese) and whether it looks light, dark or follows the device setting.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-get-there`,children:`How to get there`}),`\n`,_jsx(_components.p,{children:`In the top bar: the selector with the flag and language, and the three theme buttons. On mobile the language is only the flag and the theme is a single button with the current theme’s icon.`}),`\n`,_jsx(Frame,{caption:`How language and theme are kept`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/preferences-process.svg?fit=max\u0026auto=format\u0026n=w6DX1nTsRjzB7VQp\u0026q=85\u0026s=73e5a3db6e4659c340813f781ba5b633`,alt:`Language: the selector changes the address language prefix and remembers it. Theme: Light, Dark or System is stored in a cookie the server also reads.`,\"data-og-width\":`960`,width:`960`,\"data-og-height\":`512`,height:`512`,\"data-path\":`images/portal-customer-manual/preferences-process.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/preferences-process.svg?w=280\u0026fit=max\u0026auto=format\u0026n=w6DX1nTsRjzB7VQp\u0026q=85\u0026s=285af616009c6b347397063e695382e2 280w, https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/preferences-process.svg?w=560\u0026fit=max\u0026auto=format\u0026n=w6DX1nTsRjzB7VQp\u0026q=85\u0026s=685d93128802e8cd4fcd42ba9519311f 560w, https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/preferences-process.svg?w=840\u0026fit=max\u0026auto=format\u0026n=w6DX1nTsRjzB7VQp\u0026q=85\u0026s=0cd21dfcc019e5afa5b49dc6090c19f7 840w, https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/preferences-process.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=w6DX1nTsRjzB7VQp\u0026q=85\u0026s=2fe3575db880241b268cd53c33760d08 1100w, https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/preferences-process.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=w6DX1nTsRjzB7VQp\u0026q=85\u0026s=c41c4efdc490d8a27e57469c3a2a0adf 1650w, https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/preferences-process.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=w6DX1nTsRjzB7VQp\u0026q=85\u0026s=993b4190921ff46d8991fd6ef290ab68 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-customer-sees`,children:`What the customer sees`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Desktop`,id:`desktop`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/language.en.desktop.webp?fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=4c8c86a1572884ff905df4a4536300b1`,alt:`Language selector open with English, Español, Français, Italiano and Português.`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`800`,height:`800`,\"data-path\":`images/portal-customer-screens/preferences/language.en.desktop.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/language.en.desktop.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=05b55c3d74909a333c2e8e19f86eea3b 280w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/language.en.desktop.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=94aec53fdaf1e30fc01d7691b62646c9 560w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/language.en.desktop.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=d30b4b880cb909bcea5681b61a2c8505 840w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/language.en.desktop.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=ed7327ec4264a2b93674fbca0a6949e9 1100w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/language.en.desktop.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=add5a501deb36c2e116c769ec05b0747 1650w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/language.en.desktop.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=44665f31340079b27b90389cf61792ee 2500w`})})}),_jsx(Tab,{title:`Mobile`,id:`mobile`,children:_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/language.en.mobile.webp?fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=c223c18ef90242c2433d65b0009bf5c0`,alt:`Language selector open with English, Español, Français, Italiano and Português.`,\"data-og-width\":`390`,width:`390`,\"data-og-height\":`844`,height:`844`,\"data-path\":`images/portal-customer-screens/preferences/language.en.mobile.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/language.en.mobile.webp?w=280\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=dd39985874e1a20d4aa95e941af50ad1 280w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/language.en.mobile.webp?w=560\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=8ee01ddacfe283f1a4a6b3842e14c956 560w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/language.en.mobile.webp?w=840\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=6e8cc06f634951457b065a9240dd7e85 840w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/language.en.mobile.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=3680fef3e16061b7a17ef93e4023dd8a 1100w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/language.en.mobile.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=88d6f802082f4bacf833af39fdd00020 1650w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/language.en.mobile.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=1274a00c60b03eb37fef9114d2bdd884 2500w`})})})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Element`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Language selector`}),_jsx(_components.td,{children:`Change language`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Theme`}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Light`}),`, `,_jsx(_components.strong,{children:`Dark`}),`, `,_jsx(_components.strong,{children:`System`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-by-step`,children:`Step by step`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Change language`,children:_jsxs(_components.p,{children:[`Opens the selector and picks the language. The address changes (for example from `,_jsx(_components.code,{children:`/es/account`}),` to `,_jsx(_components.code,{children:`/en/account`}),`) and the portal shows in that language.`]})}),_jsxs(Step,{title:`Change theme`,children:[_jsxs(_components.p,{children:[`Taps `,_jsx(_components.strong,{children:`Light`}),`, `,_jsx(_components.strong,{children:`Dark`}),` or `,_jsx(_components.strong,{children:`System`}),`. On mobile, taps the theme button and picks from the menu.`]}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`Desktop`,id:`desktop-2`,children:_jsx(Frame,{caption:`Dark theme`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/dark-theme.en.desktop.webp?fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=8a21a05dc8af8a2319eb0d6563fff72e`,alt:`The Account section in dark theme.`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`800`,height:`800`,\"data-path\":`images/portal-customer-screens/preferences/dark-theme.en.desktop.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/dark-theme.en.desktop.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=c78f5447adc30456e289a7f0940280e5 280w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/dark-theme.en.desktop.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=ed57f07a8e47be0b00c392765e097e27 560w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/dark-theme.en.desktop.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=05487c912d1ce7ecaf03a5616d675550 840w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/dark-theme.en.desktop.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=188ec5f7f19a98b51b6cfcaa2b592fe6 1100w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/dark-theme.en.desktop.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=c943b51dcb148b8b6835056ab9098f17 1650w, https://mintcdn.com/bbrands/Gtthq4FwpUS-9kET/images/portal-customer-screens/preferences/dark-theme.en.desktop.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Gtthq4FwpUS-9kET\u0026q=85\u0026s=3288e4da73268328df3ab53c66033386 2500w`})})}),_jsx(Tab,{title:`Mobile`,id:`mobile-2`,children:_jsx(Frame,{caption:`Theme menu on mobile`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/theme-menu.en.mobile.webp?fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=94d8e27e0e8f5dcb5f2aa60e283b1a6e`,alt:`Theme button menu open on mobile with Light checked, Dark and System.`,\"data-og-width\":`390`,width:`390`,\"data-og-height\":`844`,height:`844`,\"data-path\":`images/portal-customer-screens/preferences/theme-menu.en.mobile.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/theme-menu.en.mobile.webp?w=280\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=3fda3dba17d4d81652d2cdaf79dc8acb 280w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/theme-menu.en.mobile.webp?w=560\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=3e7422fdae6ba341d9dc3b52afb6eaef 560w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/theme-menu.en.mobile.webp?w=840\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=8bf162d332ec7b69b69c21dcae542dac 840w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/theme-menu.en.mobile.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=dad62a852ab59a9fc77ed7eb76058ee4 1100w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/theme-menu.en.mobile.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=d8033e28ab42a85efc184d53d73fd50c 1650w, https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/preferences/theme-menu.en.mobile.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=RmQmo8S4AibSINhm\u0026q=85\u0026s=03b04a35d7d5f6285e7271b4381d0ebe 2500w`})})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`business-rules`,children:`Business rules`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`ID`}),_jsx(_components.th,{children:`Rule`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`R-01`}),_jsx(_components.td,{children:`Languages: Spanish (default), English, French, Italian and Portuguese`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`R-02`}),_jsx(_components.td,{children:`The language is in the address; a link in another language opens the portal in that language`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`R-03`}),_jsxs(_components.td,{children:[`The theme is kept in the `,_jsx(_components.code,{children:`portal-customer-theme`}),` cookie (and `,_jsx(_components.code,{children:`localStorage`}),` as a fallback)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`R-04`}),_jsx(_components.td,{children:`System follows the device’s light or dark setting`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`states-and-messages`,children:`States and messages`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`State`}),_jsx(_components.th,{children:`What the customer sees`}),_jsx(_components.th,{children:`Why`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Active language`}),_jsx(_components.td,{children:`Its flag and name in the selector`}),_jsx(_components.td,{children:`Address prefix`}),_jsx(_components.td,{children:`—`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Active theme`}),_jsx(_components.td,{children:`Its button highlighted; on mobile, its icon on the theme button and a ✓ in the menu`}),_jsx(_components.td,{children:`Theme cookie`}),_jsx(_components.td,{children:`—`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Cause`}),_jsx(_components.th,{children:`Backend code`}),_jsx(_components.th,{children:`Support action`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`— (no errors of its own)`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`—`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`why-it-works-this-way`,children:`Why it works this way`}),`\n`,_jsx(_components.p,{children:`The language in the address lets shared links open in the right language, and the theme cookie lets the server paint the chosen theme from the very first moment, without flicker.`}),`\n`,_jsx(Heading,{level:`2`,id:`technical-detail`,children:`Technical detail`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Aspect`}),_jsx(_components.th,{children:`Detail`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Language`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`app/lib/shell/language-switcher.tsx`}),`, `,_jsx(_components.code,{children:`app/i18n/*`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Theme`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`app/lib/theme/*`}),` (`,_jsx(_components.code,{children:`THEME_COOKIE_NAME`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Texts`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`messages/{es,en,fr,it,pt}.json`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`faq-and-support-cases`,children:`FAQ and support cases`}),`\n`,_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`Some texts show in Spanish with the portal in another language`,id:`some-texts-show-in-spanish-with-the-portal-in-another-language`,children:_jsx(_components.p,{children:`That key’s translation may be missing, or the text comes from the CMS or the merchant in a single language.`})})}),`\n`,_jsx(Heading,{level:`2`,id:`related-and-history`,children:`Related and history`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/portal-customer/navigation-map`,children:`Navigation map`})}),`\n`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Date`}),_jsx(_components.th,{children:`Change`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`2026-11-10`}),_jsx(_components.td,{children:`First version`})]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Language and theme","sidebarTitle":"Language and theme","description":"How the customer changes the portal language and light or dark theme.","status":"available","route":"Top bar","flags":[],"lastVerified":"2026-11-12","auditedCommit":"c10d24f33d","href":"/portal-customer/preferences"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"At a glance","slug":"at-a-glance","depth":2,"children":[]},{"title":"What it is for","slug":"what-it-is-for","depth":2,"children":[]},{"title":"How to get there","slug":"how-to-get-there","depth":2,"children":[]},{"title":"What the customer sees","slug":"what-the-customer-sees","depth":2,"children":[]},{"title":"Step by step","slug":"step-by-step","depth":2,"children":[]},{"title":"Business rules","slug":"business-rules","depth":2,"children":[]},{"title":"States and messages","slug":"states-and-messages","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Why it works this way","slug":"why-it-works-this-way","depth":2,"children":[]},{"title":"Technical detail","slug":"technical-detail","depth":2,"children":[]},{"title":"FAQ and support cases","slug":"faq-and-support-cases","depth":2,"children":[]},{"title":"Related and history","slug":"related-and-history","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bbrands","siteName":"B Brands Docs","title":"Language and theme - B Brands Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/portal-customer/preferences","matchLevel":0},"es":{"href":"/es/portal-customer/preferences","matchLevel":1}}},"lastModified":"2026-11-12T19:45:56.680Z","originalFileLocation":"portal-customer/preferences.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How the customer changes the portal language and light or dark theme.\">\u003cmeta data-mint-head name=\"application-name\" content=\"B Brands Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Language and theme - B Brands Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"How the customer changes the portal language and light or dark theme.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"B Brands Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bbrands.io/portal-customer/preferences\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bbrands.mintlify.site/_mintlify/api/og/v2?division=My+account\u0026amp;title=Language+and+theme\u0026amp;description=How+the+customer+changes+the+portal+language+and+light+or+dark+theme.\u0026amp;theme=ca80d8eeacb4ae4ba51dbf1e\u0026amp;signature=45c2a277b676013c87e7ef023d2081c6635ca08512405bb65fc1bde27b43a792\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Language and theme - B Brands Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How the customer changes the portal language and light or dark theme.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bbrands.mintlify.site/_mintlify/api/og/v2?division=My+account\u0026amp;title=Language+and+theme\u0026amp;description=How+the+customer+changes+the+portal+language+and+light+or+dark+theme.\u0026amp;theme=ca80d8eeacb4ae4ba51dbf1e\u0026amp;signature=45c2a277b676013c87e7ef023d2081c6635ca08512405bb65fc1bde27b43a792\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bbrands/goeZ5nRzsRLDEX7Z/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"B Brands Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D5993\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bbrands.io/portal-customer/preferences\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/portal-customer/preferences.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.bbrands.io/portal-customer/preferences\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.bbrands.io/es/portal-customer/preferences\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.bbrands.io/portal-customer/preferences\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bbrands.io/#organization\",\"name\":\"B Brands Docs\",\"url\":\"https://docs.bbrands.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bbrands/1xnT5Vb9hIIJ3k79/logo/bbrands-lab-light.svg?fit=max\u0026auto=format\u0026n=1xnT5Vb9hIIJ3k79\u0026q=85\u0026s=88608895ccbfda54985581ee6e49b55f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bbrands.io#website\",\"name\":\"B Brands Docs\",\"url\":\"https://docs.bbrands.io\",\"publisher\":{\"@id\":\"https://docs.bbrands.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bbrands.io/portal-customer/preferences#webpage\",\"url\":\"https://docs.bbrands.io/portal-customer/preferences\",\"name\":\"Language and theme\",\"description\":\"How the customer changes the portal language and light or dark theme.\",\"dateModified\":\"2026-11-12T19:45:56.680Z\",\"isPartOf\":{\"@id\":\"https://docs.bbrands.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bbrands.io/portal-customer/preferences#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bbrands.io/portal-customer/preferences#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"My account\",\"item\":\"https://docs.bbrands.io/portal-customer/account/profile\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Language and theme\",\"item\":\"https://docs.bbrands.io/portal-customer/preferences\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.bbrands.io/portal-customer/preferences#article\",\"headline\":\"Language and theme\",\"name\":\"Language and theme\",\"description\":\"How the customer changes the portal language and light or dark theme.\",\"url\":\"https://docs.bbrands.io/portal-customer/preferences\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bbrands.io/portal-customer/preferences#webpage\"},\"dateModified\":\"2026-11-12T19:45:56.680Z\",\"publisher\":{\"@id\":\"https://docs.bbrands.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bbrands.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"B Brands Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"B Brands Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/portal-customer/preferences.md","siteName":"B Brands Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Horizon Enterprise","pages":[{"title":"Horizon Enterprise","href":"/enterprise/getting-started/introduction"}]},{"tab":"BBrands Lab","pages":[{"title":"BBrands Lab","href":"/bbrands-lab/introduction"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/account/account/find-all"}]},{"tab":"Schemas","pages":[{"title":"Schemas","href":"/schemas/account/account"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/outbound-webhooks"}]},{"tab":"MaihueGo","pages":[{"title":"MaihueGo","href":"/maihuego/introduction"}]},{"tab":"Customer portal","groups":[{"group":"Getting started","pages":[{"title":"Customer portal","sidebarTitle":"Introduction","href":"/portal-customer/introduction"},{"title":"Navigation map","sidebarTitle":"Navigation map","href":"/portal-customer/navigation-map"},{"title":"Training path","sidebarTitle":"Training path","href":"/portal-customer/training-path"},{"title":"Glossary","sidebarTitle":"Glossary","href":"/portal-customer/glossary"},{"title":"Roles and permissions","sidebarTitle":"Roles and permissions","href":"/portal-customer/roles-and-permissions"}]},{"group":"Access","pages":[{"title":"Sign-in and sign-out","sidebarTitle":"Sign-in","href":"/portal-customer/access/sign-in"},{"title":"Act as","sidebarTitle":"Act as","href":"/portal-customer/access/act-as-company"},{"group":"Onboarding","pages":[{"title":"Invitation onboarding","sidebarTitle":"Flow overview","href":"/portal-customer/onboarding/overview"},{"title":"Activate the invitation","sidebarTitle":"Activate the invitation","href":"/portal-customer/onboarding/activate-invitation"},{"title":"Validate ID (onboarding)","sidebarTitle":"Validate ID","href":"/portal-customer/onboarding/validate-id"},{"title":"Payment method (onboarding)","sidebarTitle":"Payment method","href":"/portal-customer/onboarding/payment-method"},{"title":"Create password (onboarding)","sidebarTitle":"Create password","href":"/portal-customer/onboarding/create-password"},{"title":"Pending onboarding","sidebarTitle":"Pending onboarding","href":"/portal-customer/onboarding/pending-onboarding"}]},{"group":"Digital contract","pages":[{"title":"Digital contract","sidebarTitle":"Flow overview","href":"/portal-customer/digital-contract/overview"},{"title":"Welcome","sidebarTitle":"Welcome","href":"/portal-customer/digital-contract/welcome"},{"title":"Validate ID","sidebarTitle":"Validate ID","href":"/portal-customer/digital-contract/validate-id"},{"title":"Contract summary","sidebarTitle":"Contract summary","href":"/portal-customer/digital-contract/contract-summary"},{"title":"Payment method","sidebarTitle":"Payment method","href":"/portal-customer/digital-contract/payment-method"},{"title":"Sign documents","sidebarTitle":"Sign documents","href":"/portal-customer/digital-contract/sign-documents"},{"title":"Create password","sidebarTitle":"Create password","href":"/portal-customer/digital-contract/create-password"},{"title":"Links and access recovery","sidebarTitle":"Links and recovery","href":"/portal-customer/digital-contract/links-and-recovery"},{"title":"Company administrator","sidebarTitle":"Company administrator","href":"/portal-customer/digital-contract/company-admin"}]}]},{"group":"Home","pages":[{"title":"Home","sidebarTitle":"Home","href":"/portal-customer/home"}]},{"group":"My service","pages":[{"title":"My products","sidebarTitle":"My products","href":"/portal-customer/products"},{"title":"Schedule maintenance","sidebarTitle":"Schedule maintenance","href":"/portal-customer/scheduling"},{"title":"Documents","sidebarTitle":"Documents","href":"/portal-customer/documents"}]},{"group":"Payments","pages":[{"title":"Subscriptions","sidebarTitle":"Subscriptions","href":"/portal-customer/subscriptions"},{"title":"Payment methods","sidebarTitle":"Overview","href":"/portal-customer/payment-methods/overview"},{"title":"Add a card or PAC","sidebarTitle":"Add a card or PAC","href":"/portal-customer/payment-methods/add-card-or-pac"},{"title":"Default and delete","sidebarTitle":"Default and delete","href":"/portal-customer/payment-methods/default-and-delete"},{"title":"History","sidebarTitle":"History","href":"/portal-customer/history"}]},{"group":"Rewards","pages":[{"title":"Club Maihue","sidebarTitle":"Overview","href":"/portal-customer/club/overview"},{"title":"Club Maihue: catalog","sidebarTitle":"Catalog","href":"/portal-customer/club/catalog"},{"title":"Club Maihue: detail and obtain","sidebarTitle":"Detail and obtain","href":"/portal-customer/club/benefit-detail-and-obtain"},{"title":"Club Maihue: my coupons","sidebarTitle":"My coupons","href":"/portal-customer/club/my-coupons"},{"title":"Club Maihue: use a coupon","sidebarTitle":"Use a coupon","href":"/portal-customer/club/redeem-coupon"},{"title":"Invite a friend","sidebarTitle":"Invite a friend","href":"/portal-customer/invite"}]},{"group":"My account","pages":[{"title":"Account: profile","sidebarTitle":"Profile","href":"/portal-customer/account/profile"},{"title":"Account: security and password","sidebarTitle":"Security and password","href":"/portal-customer/account/security-password"},{"title":"Account: my devices","sidebarTitle":"My devices","description":"Where the customer signed in with their account and how to close the session on a device.","href":"/portal-customer/account/my-devices"},{"title":"Language and theme","sidebarTitle":"Language and theme","href":"/portal-customer/preferences"},{"title":"Support","sidebarTitle":"Support","description":"Support: what this section will be and its status (coming soon).","href":"/portal-customer/support"}]},{"group":"Reference","pages":[{"title":"Portal feature flags","sidebarTitle":"Feature flags","href":"/portal-customer/reference/feature-flags"},{"title":"States and errors","sidebarTitle":"States and errors","href":"/portal-customer/reference/states-and-errors"},{"title":"Support cases","sidebarTitle":"Support cases","href":"/portal-customer/reference/support-cases"},{"title":"Verification checklist","sidebarTitle":"Verification checklist","href":"/portal-customer/reference/verification-checklist"},{"title":"What's new in the portal","sidebarTitle":"What's new","href":"/portal-customer/reference/whats-new"}]}]}]},{"language":"es","pages":[{"title":"es","href":"/es/portal-customer/preferences"}]}]},"basePath":"","title":"Language and theme - B Brands Docs","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CCOo5IeD.js","DynamicMarkdown-Czhs88Hc.js","zoom-image-lightbox-BA_UUN68.js","lightbox-handle-r17bVUz3.js"]}