Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6331745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:07:44+00:00 2026-05-24T18:07:44+00:00

More generally how do you rename Sphinx default elements (e.g. Quick Search to Search

  • 0

More generally how do you rename Sphinx default elements (e.g. Quick Search to Search)? Can you?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:07:46+00:00Added an answer on May 24, 2026 at 6:07 pm

    Here is how you could change “Quick search” to something else by overriding a template:

    1. Create a folder called templates in the Sphinx project directory.

    2. Copy <Sphinx install dir>/themes/basic/searchbox.html to templates.

    3. In conf.py, add

      templates_path = ["templates"]
      
    4. Rename ‘Quick search’ to whatever you want in the copy of searchbox.html.

    But I would not do it this way.

    A more flexible approach is to create a gettext MO file and set up the configuration as described in the documentation for locale_dirs. Like this:

    1. The template file <Sphinx install dir>/locale/sphinx.pot contains all the strings that can be translated. Copy that file to a local sphinx.po file.

    2. Add your changes to sphinx.po.

    3. Use msgfmt.py to compile sphinx.po into sphinx.mo.

    4. Put sphinx.mo in the proper directory (<your_locale_dir>/en/LC_MESSAGES for English).

    See also http://docs.python.org/library/gettext.html#internationalizing-your-programs-and-modules.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Or more generally, how do I remove an item from a colon-separated list in
Does anyone know in which programming language the Googlebot was written? Or, more generally,
I've been lately trying to learn more and generally test Java's serialization for both
I know that exceptions have a performance penalty, and that it's generally more efficient
We're generally familiar with code smells here, but just as damaging if not more
I want to test that setting a certain property (or more generally, executing some
I want to know how this ambiguous pattern is solved in perl(more generally everything
Where is logout_path defined in the authlogic library for rails? More generally, where are
While this question more generally has been looked at here: Exporting R tables to
Also, if not python or java, then would you more generally pick a statically-typed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.