Skip to content

Translation

pap edited this page Nov 19, 2025 · 1 revision

How to start translating

Before translating

Before contributing to translation of gs2009, I would recommend to search/get:

  • The way to translate English to your language fluently
  • Actual screenshot of translation in Older Google version (search it like: google ["search"/"images"/"search results" in your language] before:2010)
  • Actual Archive from Wayback Machine (e.x. Google Japan, Download it via Wayback Machine Downloader so plain html will be downloaded)

Preparing

  1. Fork the repository and name it like: gs2009-es gs2009-es-ar gs2009-Spannish-Translation (recommended for only translation)
  2. Copy /html/en, /template/en to /html/[language code], /template/[language code] (e.g. /html/es /template/es)
  3. Start the server once if there's no config.json generated
  4. Replace "LANGUAGE":"en" to "LANGUAGE":"[language code]" in config.json (e.g. "LANGUAGE":"es")
  5. Restart the server

And you're now ready to start translating!

File explaining

/assets/
  /images/
    /[language code]/ ----- you might need to put your specific in here
    /[language code]-ALL/ - same as above
/html/ -- every htmls in here
  /[language code]/ -- translation folder
    /firefox/
      /index.html - the "Firefox Start" page, which is default in ~Firefox 3.x
    /index.html -- the homepage of gs2009
    /search.html - the search page
    /signin.html - the signin page
/template/ - "signed in" gbar things, search result template
  /[language code]/ -- translation folder
    /search/ -------------- hell
      /normal.txt --------- normal search result template
      /more.txt ----------- search result template in if domain is same as above
      /more_eom.txt ------- the end of above one
    /gbar_user_index.txt -- logged off gbar account (index only)
    /gbar_user_logged.txt - logged in  gbar account (global)
    /gbar_user.txt -------- logged off gbar account (global)

Words that you should not replace/use

global

gbar_user_REPLACE_HERE - used in gbar account
gbar_username ---------- used in gbar account

/search

UrlLink
item
lastone
moreRelatedLink
relatedUrlLink
htmlFormattedUrl
htmlTitle
htmlSnippet
query

Clone this wiki locally