Overview
This guide covers essential configuration options to get ShahiTranslate Pro working optimally for your site.
Accessing Settings
Navigate to ShahiTranslate Pro → Settings in your WordPress admin panel. You’ll see multiple tabs for different configuration areas.
General Settings
Translation Engine
Location: General tab → Translation Engine
Choose how content will be translated:
- Automatic Translation
- Manual Translation Only
- Hybrid Mode (Recommended)
- Enable Translation Cache: ✅ Recommended (checked)
- Cache Duration: 30 days (default)
- Clear Cache: Button to manually purge all cached translations
- Auto-detect Visitor Language: Enable to automatically show content in visitor’s browser language
- Redirect to Browser Language: Automatically redirect first-time visitors to their language version
- Remember Language Choice: Save visitor’s language preference in cookies
- Select your site’s primary/default language
- This is the language your content is originally written in
- Common choices: English (US), Spanish, French, German
- North America: English, Spanish, French
- Europe: English, German, French, Spanish, Italian
- Asia-Pacific: English, Chinese (Simplified), Japanese, Korean
- Middle East: English, Arabic, Hebrew
- Global: English, Spanish, French, German, Chinese, Arabic
- Start with 3-5 languages
- Add more based on analytics data showing visitor locations
- Consider your target markets and customer base
- Use native names (recommended): Español, Français, Deutsch
- Use English names: Spanish, French, German
- Use custom labels for specific audiences
- Enable RTL: Automatically enable right-to-left layout for Arabic, Hebrew, Urdu, etc.
- RTL CSS: Plugin applies necessary styles automatically
- Custom RTL Styles: Add custom CSS in the Advanced tab if needed
- API Key: Enter your Google Cloud Translation API key
- API Version: V2 (default) or V3 (advanced features)
- Request Quota: Monitor usage and set limits
- Error Handling: Configure fallback behavior if API fails
- Go to Google Cloud Console
- Create a new project or select existing
- Enable Cloud Translation API
- Create credentials → API Key
- Copy and paste into ShahiTranslate Pro
- Monitor usage in Google Cloud Console
- Set budget alerts
- Use caching to minimize API calls
- Average cost: $20 per 1 million characters
- Dropdown
- Flags Dropdown
- Floating Button
- Popup/Modal
- Inline List
- Header: Top right, top left, or center
- Footer: Bottom of page
- Floating: Fixed position (top-right, bottom-right, etc.)
- Custom: Use shortcode
[shahitranslate_switcher]anywhere - Widget: Add to any widget area via Appearance → Widgets
- Show Flags: Display country/language flags
- Show Language Names: Display language text
- Show Both: Flags + Names (recommended)
- Flag Size: 16px, 24px, 32px, or custom
- Text Color: Match your theme
- Background Color: Customize dropdown background
- Hover Effects: Enable/disable animations
- Responsive Behavior: Auto-adjust on small screens
- Touch-Friendly Size: Larger buttons for mobile
- Mobile Position: Override desktop position on mobile
- Hamburger Menu Integration: Add to mobile menu
- Subdirectory (Recommended)
- Query Parameter
- Subdomain
- Translate Page Slugs: Convert URLs to target language
- Keep Original Slugs: Maintain English slugs across all languages
- ✅ Post Content: Main content area
- ✅ Post Titles: Post and page titles
- ✅ Post Excerpts: Summary text
- ✅ Categories: Category names
- ✅ Tags: Tag names
- ✅ Menus: Navigation menu items
- ✅ Widgets: Widget content
- ✅ Custom Fields: Meta fields (specify which ones)
- ⬜ Comments: User comments (optional)
- ⬜ URLs: Link URLs (be careful)
- CSS Classes: Add classes like
.notranslate - HTML Elements: Exclude specific tags
- Custom Post Types: Exclude certain post types
- Specific Pages: Exclude by page ID
- Text Patterns: Use regex to exclude specific text
- Brand names
- Product SKUs
- Email addresses
- Phone numbers
- Code snippets
- Lazy Loading: Translate content only when visible on screen
- Ajax Translation: Translate dynamically without page reload
- Minify JavaScript: Reduce file sizes
- Async Loading: Load translation scripts asynchronously
- Database Optimization: Auto-clean old cached translations
- WP Rocket
- W3 Total Cache
- WP Super Cache
- LiteSpeed Cache
- Autoptimize
- Plugin auto-detects caching plugins
- Clears relevant caches when translations update
- Language-specific cache variations
- Who Can Translate: Restrict manual translation access to specific user roles
- API Key Protection: Hide API key from non-administrators
- Rate Limiting: Prevent abuse of translation features
- CAPTCHA Integration: Add verification for public translation suggestions
- Click Save Changes button at the bottom of each tab
- You’ll see a success message confirming settings saved
- Clear your site cache if using caching plugins
- Test changes on the front end
- Understanding Translation Methods
- Customizing Language Switcher
- SEO Configuration
- Performance Optimization
– Uses Google Translate API for instant translations
– Requires valid API key
– Best for: Sites with lots of content, blogs, news sites
– All translations created by you or your team
– Maximum accuracy and control
– Best for: Legal sites, medical content, e-commerce product descriptions
– Automatic translation as baseline
– Manual override capability
– Best for: Most sites that want both speed and accuracy
Translation Cache
Location: General tab → Cache Settings
– Stores translated content for faster loading
– Reduces API calls
– Improves performance significantly
– How long translations are stored
– Increase for static content
– Decrease for frequently updated content
Default Behavior
Location: General tab → Default Behavior
Language Settings
Source Language
Location: Languages tab → Source Language
Active Languages
Location: Languages tab → Active Languages
Select languages you want to offer:
Popular Language Combinations:
Tips:
Language Display Names
Location: Languages tab → Language Names
Customize how language names appear in the switcher:
RTL Language Support
Location: Languages tab → RTL Settings
API Configuration
Google Translate API
Location: API Settings tab
Getting an API Key:
Cost Management:
Switcher Configuration
Switcher Type
Location: Switcher tab → Switcher Type
Choose from multiple styles:
– Classic dropdown menu
– Compact and professional
– Works everywhere
– Dropdown with flag icons
– Visual and intuitive
– Popular choice
– Sticky button that stays visible while scrolling
– Great for mobile
– Doesn’t take permanent space
– Full-screen language selector
– Beautiful presentation
– Best for many languages
– Horizontal list of languages
– Good for footer or sidebar
– Simple and clean
Switcher Position
Location: Switcher tab → Position Settings
Switcher Appearance
Location: Switcher tab → Appearance
Mobile Optimization
Location: Switcher tab → Mobile Settings
URL Structure
URL Format
Location: Advanced tab → URL Settings
Choose how languages appear in URLs:
– example.com/es/page
– example.com/fr/page
– SEO-friendly, easy to manage
– example.com/page?lang=es
– Simple, no server config needed
– Less SEO-optimal
– es.example.com
– Requires DNS configuration
– Good for completely separate sites
Slug Translation
Location: Advanced tab → Slug Settings
– English: /about-us → Spanish: /sobre-nosotros
– All languages: /about-us
Content Translation Settings
What Gets Translated
Location: Advanced tab → Content Settings
Choose which elements to translate:
Excluded Content
Location: Advanced tab → Exclusions
Specify content that should NOT be translated:
Common Exclusions:
Performance Settings
Optimization Options
Location: Advanced tab → Performance
Caching Integration
Location: Advanced tab → Cache Integration
Compatible with popular caching plugins:
Configuration:
Security Settings
Access Control
Location: Advanced tab → Security
Saving Your Configuration
After making changes:
Configuration Checklist
Before going live, verify:
✅ Source language set correctly
✅ Target languages selected
✅ Translation method configured
✅ API key added (if using automatic translation)
✅ Switcher type chosen
✅ Switcher position set
✅ URL structure selected
✅ Content types to translate specified
✅ Exclusions configured
✅ Performance options optimized
✅ Tested on front end
Next Steps
Share this article
Still need help?
Our support team is ready to assist you with personalized guidance for your workspace.