ShahiTranslate

Basic Configuration

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:

    1. Automatic Translation
    2. – Uses Google Translate API for instant translations
      – Requires valid API key
      – Best for: Sites with lots of content, blogs, news sites

    3. Manual Translation Only
    4. – All translations created by you or your team
      – Maximum accuracy and control
      – Best for: Legal sites, medical content, e-commerce product descriptions

    5. Hybrid Mode (Recommended)
    6. – Automatic translation as baseline
      – Manual override capability
      – Best for: Most sites that want both speed and accuracy

      Translation Cache

      Location: General tab → Cache Settings

    7. Enable Translation Cache: ✅ Recommended (checked)
    8. – Stores translated content for faster loading
      – Reduces API calls
      – Improves performance significantly

    9. Cache Duration: 30 days (default)
    10. – How long translations are stored
      – Increase for static content
      – Decrease for frequently updated content

    11. Clear Cache: Button to manually purge all cached translations
    12. Default Behavior

      Location: General tab → Default Behavior

    13. Auto-detect Visitor Language: Enable to automatically show content in visitor’s browser language
    14. Redirect to Browser Language: Automatically redirect first-time visitors to their language version
    15. Remember Language Choice: Save visitor’s language preference in cookies
    16. Language Settings

      Source Language

      Location: Languages tab → Source Language

    17. Select your site’s primary/default language
    18. This is the language your content is originally written in
    19. Common choices: English (US), Spanish, French, German
    20. Active Languages

      Location: Languages tab → Active Languages

      Select languages you want to offer:

      Popular Language Combinations:

    21. North America: English, Spanish, French
    22. Europe: English, German, French, Spanish, Italian
    23. Asia-Pacific: English, Chinese (Simplified), Japanese, Korean
    24. Middle East: English, Arabic, Hebrew
    25. Global: English, Spanish, French, German, Chinese, Arabic
    26. Tips:

    27. Start with 3-5 languages
    28. Add more based on analytics data showing visitor locations
    29. Consider your target markets and customer base
    30. Language Display Names

      Location: Languages tab → Language Names

      Customize how language names appear in the switcher:

    31. Use native names (recommended): Español, Français, Deutsch
    32. Use English names: Spanish, French, German
    33. Use custom labels for specific audiences
    34. RTL Language Support

      Location: Languages tab → RTL Settings

    35. Enable RTL: Automatically enable right-to-left layout for Arabic, Hebrew, Urdu, etc.
    36. RTL CSS: Plugin applies necessary styles automatically
    37. Custom RTL Styles: Add custom CSS in the Advanced tab if needed
    38. API Configuration

      Google Translate API

      Location: API Settings tab

    39. API Key: Enter your Google Cloud Translation API key
    40. API Version: V2 (default) or V3 (advanced features)
    41. Request Quota: Monitor usage and set limits
    42. Error Handling: Configure fallback behavior if API fails
    43. Getting an API Key:

    44. Go to Google Cloud Console
    45. Create a new project or select existing
    46. Enable Cloud Translation API
    47. Create credentials → API Key
    48. Copy and paste into ShahiTranslate Pro
    49. Cost Management:

    50. Monitor usage in Google Cloud Console
    51. Set budget alerts
    52. Use caching to minimize API calls
    53. Average cost: $20 per 1 million characters
    54. Switcher Configuration

      Switcher Type

      Location: Switcher tab → Switcher Type

      Choose from multiple styles:

    55. Dropdown
    56. – Classic dropdown menu
      – Compact and professional
      – Works everywhere

    57. Flags Dropdown
    58. – Dropdown with flag icons
      – Visual and intuitive
      – Popular choice

    59. Floating Button
    60. – Sticky button that stays visible while scrolling
      – Great for mobile
      – Doesn’t take permanent space

    61. Popup/Modal
    62. – Full-screen language selector
      – Beautiful presentation
      – Best for many languages

    63. Inline List
    64. – Horizontal list of languages
      – Good for footer or sidebar
      – Simple and clean

      Switcher Position

      Location: Switcher tab → Position Settings

    65. Header: Top right, top left, or center
    66. Footer: Bottom of page
    67. Floating: Fixed position (top-right, bottom-right, etc.)
    68. Custom: Use shortcode [shahitranslate_switcher] anywhere
    69. Widget: Add to any widget area via Appearance → Widgets
    70. Switcher Appearance

      Location: Switcher tab → Appearance

    71. Show Flags: Display country/language flags
    72. Show Language Names: Display language text
    73. Show Both: Flags + Names (recommended)
    74. Flag Size: 16px, 24px, 32px, or custom
    75. Text Color: Match your theme
    76. Background Color: Customize dropdown background
    77. Hover Effects: Enable/disable animations
    78. Mobile Optimization

      Location: Switcher tab → Mobile Settings

    79. Responsive Behavior: Auto-adjust on small screens
    80. Touch-Friendly Size: Larger buttons for mobile
    81. Mobile Position: Override desktop position on mobile
    82. Hamburger Menu Integration: Add to mobile menu
    83. URL Structure

      URL Format

      Location: Advanced tab → URL Settings

      Choose how languages appear in URLs:

    84. Subdirectory (Recommended)
    85. example.com/es/page
      example.com/fr/page
      – SEO-friendly, easy to manage

    86. Query Parameter
    87. example.com/page?lang=es
      – Simple, no server config needed
      – Less SEO-optimal

    88. Subdomain
    89. es.example.com
      – Requires DNS configuration
      – Good for completely separate sites

      Slug Translation

      Location: Advanced tab → Slug Settings

    90. Translate Page Slugs: Convert URLs to target language
    91. – English: /about-us → Spanish: /sobre-nosotros

    92. Keep Original Slugs: Maintain English slugs across all languages
    93. – All languages: /about-us

      Content Translation Settings

      What Gets Translated

      Location: Advanced tab → Content Settings

      Choose which elements to translate:

    94. Post Content: Main content area
    95. Post Titles: Post and page titles
    96. Post Excerpts: Summary text
    97. Categories: Category names
    98. Tags: Tag names
    99. Menus: Navigation menu items
    100. Widgets: Widget content
    101. Custom Fields: Meta fields (specify which ones)
    102. Comments: User comments (optional)
    103. URLs: Link URLs (be careful)
    104. Excluded Content

      Location: Advanced tab → Exclusions

      Specify content that should NOT be translated:

    105. CSS Classes: Add classes like .notranslate
    106. HTML Elements: Exclude specific tags
    107. Custom Post Types: Exclude certain post types
    108. Specific Pages: Exclude by page ID
    109. Text Patterns: Use regex to exclude specific text
    110. Common Exclusions:

    111. Brand names
    112. Product SKUs
    113. Email addresses
    114. Phone numbers
    115. Code snippets
    116. Performance Settings

      Optimization Options

      Location: Advanced tab → Performance

    117. Lazy Loading: Translate content only when visible on screen
    118. Ajax Translation: Translate dynamically without page reload
    119. Minify JavaScript: Reduce file sizes
    120. Async Loading: Load translation scripts asynchronously
    121. Database Optimization: Auto-clean old cached translations
    122. Caching Integration

      Location: Advanced tab → Cache Integration

      Compatible with popular caching plugins:

    123. WP Rocket
    124. W3 Total Cache
    125. WP Super Cache
    126. LiteSpeed Cache
    127. Autoptimize
    128. Configuration:

    129. Plugin auto-detects caching plugins
    130. Clears relevant caches when translations update
    131. Language-specific cache variations
    132. Security Settings

      Access Control

      Location: Advanced tab → Security

    133. Who Can Translate: Restrict manual translation access to specific user roles
    134. API Key Protection: Hide API key from non-administrators
    135. Rate Limiting: Prevent abuse of translation features
    136. CAPTCHA Integration: Add verification for public translation suggestions
    137. Saving Your Configuration

      After making changes:

    138. Click Save Changes button at the bottom of each tab
    139. You’ll see a success message confirming settings saved
    140. Clear your site cache if using caching plugins
    141. Test changes on the front end
    142. 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

    143. Understanding Translation Methods
    144. Customizing Language Switcher
    145. SEO Configuration
    146. Performance Optimization

Share this article

Was this article helpful?

Help us improve our documentation

Still need help?

Our support team is ready to assist you with personalized guidance for your workspace.

Submit a support ticket