Gallery3:Modules:language flags - Gallery Codex
Personal tools

Gallery3:Modules:language flags

From Gallery Codex

Language_Flags Module

Language_Flags will replace the language selection drop-down box with clickable pictures of flags.


Language_Flags is a module for Gallery 3 which will replace the default language selection box on the Gallery sidebar with pictures of flags for the available language. The module comes with three different flag styles, which can be controlled from the admin screen. Styles are:

  • Rounded
  • Rectangular
  • Square

Furthermore: a custom option is available where you can add your own flag style. Go to language_flags > images > custom and place your icons inside this folder. Files must be named according to Locale Codes found here:

Ex: Indonesia - id-ID - filename = "id-ID.png"


  • Allow visitors to select their language by clicking on their countries flag.
  • Allows admins to choose between several different styles of flags.
  • Displays selected language with increased flag size




This module may be downloaded from the Gallery forums here.

To install, extract the "language_flags" folder from the zip file into your Gallery 3 modules folder. Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu. Once activated, you will have and Admin -> Settings -> Language flag settings option. Visit this screen to select what type of flag to use.