Overview
The language switcher is how visitors change languages on your site. ShahiTranslate Pro offers multiple switcher styles and extensive customization options.
Accessing Switcher Settings
Navigate to: ShahiTranslate Pro → Settings → Switcher
Switcher Types
1. Dropdown Menu
Best for: Professional sites, corporate websites, blogs
Features:
- Compact and space-efficient
- Clean, professional appearance
- Shows currently selected language
- Expands on click to show all options
- Customizable colors and fonts
- Style: Classic or Modern
- Width: Auto, Fixed, or Full-width
- Max Height: Set maximum dropdown height with scroll
- Arrow Style: Choose dropdown indicator icon
- Country/language flags for visual recognition
- Optional language names beside flags
- Hover effects on flags
- Multiple flag sizes available
- SVG or PNG flags
- Flag Size: 16px, 24px, 32px, 48px, or custom
- Flag Style: Rectangle, circle, or square
- Show Names: Display language names with flags
- Flag Position: Left or right of text
- Stays visible while scrolling
- Doesn’t consume permanent space
- Touch-friendly on mobile
- Customizable position
- Animation on hover
- Position: Top-left, top-right, bottom-left, bottom-right
- Offset: Distance from edge (X and Y)
- Size: Small, medium, large, or custom
- Icon: Globe, flag, text, or custom icon
- Hide on Scroll: Optional auto-hide behavior
- Full-screen or centered modal
- Search functionality for many languages
- Beautiful grid layout with flags
- Language descriptions
- Smooth animations
- Trigger: Button, link, or automatic on first visit
- Layout: Grid, list, or columns
- Search Bar: Enable/disable language search
- Background: Overlay opacity and color
- Close Button: Position and style
- Horizontal or vertical list
- Separator characters (|, /, •)
- Inline with other content
- No dropdown needed
- Minimal design
- Orientation: Horizontal or vertical
- Separator: Choose character or custom
- Spacing: Adjust gaps between items
- Current Language: Highlight style
- Single icon that opens language menu
- Space-efficient
- Modern appearance
- Tooltip showing “Change Language”
- Animated on hover
- Icon Style: Solid, outline, or custom
- Menu Style: Dropdown, slide-out, or popup
- Icon Size: 16-48px
- Color: Match theme colors
- Adds to WordPress navigation menu
- Appears with other menu items
- Inherits menu styling
- Dropdown within menu
- Mobile menu compatible
- Menu Location: Choose which menu to add to
- Position: First, last, or specific position
- Label: Custom text or language name
- Icon: Optional flag or globe icon
- ShahiFlags collection (200+ countries/regions)
- Custom flag upload
- SVG (scalable, sharp) or PNG (standard)
- 16x16px: Compact, for tight spaces
- 24x24px: Standard size, most common
- 32x32px: Larger, more visible
- 48x48px: Extra large, for accessibility
- Custom: Specify exact dimensions
- Rectangle: Standard flag proportions
- Circle: Circular crop of flag
- Square: Square crop
- Rounded: Rectangle with rounded corners
- Shadow: Add drop shadow
- Native Names: Español, Français, Deutsch (recommended)
- English Names: Spanish, French, German
- Language Codes: ES, FR, DE
- Custom Labels: Define your own text
- Font Family: Inherit from theme or custom
- Font Size: 12-24px
- Font Weight: Light, normal, bold
- Text Transform: Uppercase, lowercase, capitalize
- Before flag
- After flag (most common)
- Below flag
- Name only (no flag)
- Flag + Name:
🇪🇸 Español - Name + Flag:
Español 🇪🇸 - Flag + Code:
🇪🇸 ES - Stacked: Flag on top, name below
- Top-left corner
- Top-center (centered in header)
- Top-right corner (most popular)
- Below header (in content area)
- Bottom-left corner
- Bottom-center
- Bottom-right corner
- Above footer (in content area)
- Top-right (sticky)
- Top-left (sticky)
- Bottom-right (sticky)
- Bottom-left (sticky)
- Custom coordinates
- Go to Appearance → Widgets
- Find “ShahiTranslate Switcher” widget
- Drag to desired widget area
- Configure widget settings
- Desktop: Top-right header
- Tablet: Floating bottom-right
- Mobile: In hamburger menu
- Desktop Position: Choose from options
- Tablet Override: Optional different position
- Mobile Override: Optional different position
- Breakpoints: Define at what screen widths to switch
- Default State: Normal text color
- Hover State: On mouse hover
- Active State: Currently selected language
- Disabled State: Unavailable options (if any)
- Switcher Background: Main container
- Dropdown Background: Expanded menu
- Hover Background: Highlight on hover
- Active Background: Selected language
- Border: Main border color
- Border Hover: On hover
- Border Radius: Rounded corners (0-50px)
- Border Width: 0-5px
- Width: Auto, 100px-500px, or 100%
- Height: Auto or fixed
- Max Width: Limit maximum width
- Min Width: Prevent too narrow
- Padding: Space inside switcher (5-30px)
- Item Spacing: Gap between language options
- Line Height: Vertical spacing of text
- Icon Spacing: Gap between icon and text
- Color Change: Smooth color transition
- Background Change: Highlight on hover
- Scale: Slightly enlarge on hover
- Shadow: Add/enhance shadow
- Underline: Underline text
- Duration: 0.1s – 1s
- Easing: Linear, ease-in-out, or custom
- Properties: What animates (color, transform, etc.)
- Fade In: Opacity transition
- Slide Down: Vertical slide
- Scale: Grow from center
- None: Instant appearance
- Increase Touch Size: Larger buttons for easy tapping (44x44px minimum)
- Simplify Display: Show flags only, hide text labels
- Full-Width: Expand to full screen width
- Bottom Sheet: Slide up from bottom instead of dropdown
- Add to hamburger/mobile menu
- Show at top or bottom of menu
- Inherit mobile menu styling
- Collapse on language selection
- ✅ Current Language Indicator
- ✅ Dropdown Arrow
- ✅ Flag Icons
- ✅ Language Names
- ⬜ Language Codes
- ⬜ RTL Indicator
- ⬜ Translation Status
- Open Dropdown: Show language options
- Direct Link: Go to language immediately (for inline lists)
- Custom Action: Trigger JavaScript function
- Reload Page: Standard behavior
- AJAX Switch: Change language without reload (faster)
- Scroll to Top: Return to top after switch
- Remember Scroll: Keep scroll position
- Keyboard Navigation: Tab through options, Enter to select
- Screen Reader Support: ARIA labels and descriptions
- Focus Indicators: Visible focus outlines
- Skip Link: “Skip to language switcher” link
- Minimal: Clean, simple dropdown
- Flags Only: Visual flag-based selector
- Professional: Corporate style with subtle colors
- Colorful: Vibrant, eye-catching design
- Floating Globe: Modern floating button
- Footer Inline: Horizontal list for footer
- Mobile First: Optimized for touch devices
- Go to Switcher tab
- Click “Templates” button
- Select a template
- Customize as needed
- Save changes
- Configure switcher exactly as desired
- Click “Save as Template”
- Give it a name and description
- Template is saved for reuse
- A/B testing different designs
- Site network consistency
- Quick style switching
- Client presentations
- Enable Preview Mode in switcher settings
- Switcher only visible to logged-in admins
- Test functionality and appearance
- Disable Preview Mode to make live
- Use browser DevTools responsive mode
- Test actual mobile devices
- Check tablet sizes
- Verify touch functionality
- Chrome, Firefox, Safari, Edge (latest versions)
- Internet Explorer 11 (basic support)
- Mobile browsers (iOS Safari, Chrome Android)
- Type: Dropdown
- Position: Top-right header
- Display: Language names only
- Colors: Neutral (grays, blues)
- Type: Flags Dropdown
- Position: Top-right, next to cart
- Display: Flags + names
- Size: 24px flags
- Type: Floating Button (globe icon)
- Position: Bottom-right
- Display: Popup with flags and names
- Mobile: Integrated in mobile menu
- Type: Popup with search
- Position: Header button
- Display: Grid of flags with full language names
- Feature: Search bar for quick access
- Check that plugin is activated
- Verify position settings
- Clear cache (site and browser)
- Check for CSS conflicts
- Ensure at least 2 languages are enabled
- Try disabling theme CSS for switcher
- Add custom CSS to override theme styles
- Use browser inspector to identify conflicts
- Increase CSS specificity if needed
- Verify mobile-specific settings
- Test touch target size (should be 44x44px minimum)
- Check for overlapping elements
- Ensure responsive breakpoints are set correctly
- Translation Cache System
- SEO Settings
- Customizing Switcher Appearance
Configuration:
2. Flags Dropdown
Best for: Visual appeal, international sites, tourism sites
Features:
Configuration:
3. Floating Button
Best for: Mobile-first sites, sites with fixed headers
Features:
Configuration:
4. Popup/Modal
Best for: Sites with many languages, visual presentation
Features:
Configuration:
5. Inline List
Best for: Footer placement, sidebar, simple layouts
Features:
Configuration:
6. Globe Icon
Best for: Minimalist designs, header integration
Features:
Configuration:
7. Menu Integration
Best for: Sites with existing navigation structure
Features:
Configuration:
Display Options
Flag Settings
Flag Library:
Flag Sizes:
Flag Styles:
Language Name Settings
Display Format:
Typography:
Name Position:
Combined Display
Show both flags and language names:
Positioning
Fixed Positions
Header Positions:
Footer Positions:
Floating Positions:
Custom Positioning
Shortcode Method:
`
[shahitranslate_switcher]
`
Place in any post, page, or widget area.
With Attributes:
`
[shahitranslate_switcher type=”flags” size=”24″]
`
PHP Template Function:
`php
exists(‘shahitranslateswitcher’)) {
shahitranslate_switcher(array(
‘type’ => ‘dropdown’,
‘show_flags’ => true
));
} ?>
`
Widget Method:
Responsive Positioning
Set different positions for different devices:
Configuration:
Appearance Customization
Color Scheme
Text Colors:
Background Colors:
Border Colors:
Size and Spacing
Container Size:
Internal Spacing:
Effects and Animations
Hover Effects:
Transition Effects:
Dropdown Animation:
Mobile Optimization
Mobile-Specific Settings:
Mobile Menu Integration:
Advanced Options
Show/Hide Elements
Selectively display or hide elements:
Behavior Settings
Click Behavior:
Selection Behavior:
Accessibility:
Custom CSS
Add your own styles for complete control:
`css
/ Custom switcher styling /
.shahitranslate-switcher {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 25px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.shahitranslate-switcher:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.shahitranslate-flag {
border: 2px solid #fff;
border-radius: 50%;
}
`
Location: ShahiTranslate Pro → Settings → Switcher → Custom CSS
Switcher Templates
Pre-Built Templates
Choose from professionally designed templates:
Applying Templates:
Creating Custom Templates
Save your configuration as a template:
Use Cases:
Testing Your Switcher
Preview Mode
Test without affecting live site:
Responsive Testing
Check appearance on different devices:
Browser Compatibility
Switcher is tested and compatible with:
Common Switcher Configurations
Configuration Examples
Corporate/Professional:
E-commerce:
Blog/Content Site:
Multi-Language News Site:
Troubleshooting
Switcher Not Appearing
Styling Issues
Mobile Issues
Next Steps
Share this article
Still need help?
Our support team is ready to assist you with personalized guidance for your workspace.