Skip to content
Snippets Groups Projects
  • chrisgarrity's avatar
    bc3df2c3
    Enable language selection menu · bc3df2c3
    chrisgarrity authored
    Allows the language selection menu to be active if `?enable=language` is in the URL, otherwise shows a ‘coming soon’ tooltip. This can also land on a branch if we don’t want that available on preview.
    
    - language menu opens if the globe is clicked
    - language menu closes if mouse is clicked anywhere outside the language selector
    - language list is imported from scratch-l10n
    - current locale is updated if another language is selected (i.e. the current language selected changes)
    
    Not in this PR:
    - styling of language selector
    - actually changing the messages!
    bc3df2c3
    History
    Enable language selection menu
    chrisgarrity authored
    Allows the language selection menu to be active if `?enable=language` is in the URL, otherwise shows a ‘coming soon’ tooltip. This can also land on a branch if we don’t want that available on preview.
    
    - language menu opens if the globe is clicked
    - language menu closes if mouse is clicked anywhere outside the language selector
    - language list is imported from scratch-l10n
    - current locale is updated if another language is selected (i.e. the current language selected changes)
    
    Not in this PR:
    - styling of language selector
    - actually changing the messages!
Code owners
Assign users and groups as approvers for specific file changes. Learn more.