Context-Search icon indicating copy to clipboard operation
Context-Search copied to clipboard

Localizers wanted

Open NumeriusNegidius opened this issue 8 years ago • 12 comments

If anybody is interested in contributing with a translation in your language, I would be thankful for a pull request. If you have any questions you are welcome to ask them here!

NumeriusNegidius avatar Oct 15 '17 18:10 NumeriusNegidius

I've sent you a pull request for the French translation, do you have seen it ?

mooms06 avatar Oct 17 '17 15:10 mooms06

I can’t see any pull request, unfortunately.

NumeriusNegidius avatar Oct 17 '17 20:10 NumeriusNegidius

I'm new on this Github thing, I must have made something wrong... Is this OK now ?

mooms06 avatar Oct 17 '17 20:10 mooms06

Can I post the translation here?

Language:zh_CN

{
  "extensionDescription": {
    "message": "在上下文菜单中用您所选的搜索引擎来搜索选中的文本。",
    "description": "Description of the add-on."
  },


  "rootMenuLabel": {
    "message": "搜索",
    "description": "The root menu label."
  },


  "optionsTabPlacementTitle": {
    "message": "打开结果标签页于",
    "description": "Options title for tab placement select element."
  },

  "optionsTabPlacementNextToCurrent": {
    "message": "当前标签页右侧",
    "description": "Select option label for tab placement: Next to the current one."
  },

  "optionsTabPlacementEndOfTabstrip": {
    "message": "标签栏的最右边",
    "description": "Select option label for tab placement: At the end of tab strip."
  },

  "optionsMakeNewTabActive": {
    "message": "立即切换到结果标签页",
    "description": "Checkbox label: Switch to the tab immediately."
  }
}

AlephAlpha avatar Nov 15 '17 10:11 AlephAlpha

@AlephAlpha: Sorry for the delay. The translation is added and will be published on AMO soon. Thanks!

NumeriusNegidius avatar Dec 28 '17 10:12 NumeriusNegidius

@NumeriusNegidius should the "description" fields remain in English, or are they to be translated as well?

waldyrious avatar May 23 '18 14:05 waldyrious

Thanks to everybody that has contributed translations to the extensions. Since the initial call-out for translations, Context Search has went though quite a lot of development with some new features. If you're still up for it, please contribute with translations for the new strings.

Thanks a bunch!

NumeriusNegidius avatar Jul 20 '18 17:07 NumeriusNegidius

I've sent a PR for pt_PT: #61.

waldyrious avatar Jul 20 '18 22:07 waldyrious

Language:zh_CN

{
  "extensionDescription":    { "message": "在右键菜单中用您所选的搜索引擎来搜索选中的文本。" },
  "rootMenuLabel":           { "message": "搜索 \"$query$\"", "placeholders": { "query" : { "content" : "$1" } } },
  "rootMenuLabelImage":      { "message": "搜索此图片" },
  "ellipsis":                { "message": "…" },
  "titleGettingStarted":     { "message": "开始使用" },
  "optionsTitle":            { "message": "扩展设置" },
  "optionsMakeNewTabActive": { "message": "立即切换到搜索结果标签页" },
  "optionsHelpLink":         { "message": "若需帮助,请查看" }
}

AlephAlpha avatar Jul 21 '18 09:07 AlephAlpha

Thank you for the contribution!

NumeriusNegidius avatar Jul 21 '18 13:07 NumeriusNegidius

Here's the messages.json file for German (de):

{
  "extensionDescription":    { "message": "Markierten Text mit beliebigen Suchmaschinen über das Seiten-Kontextmenü suchen." },
  "menu_rootLabelText":      { "message": "Suche nach „$query$“", "placeholders": { "query" : { "content" : "$1" } } },
  "menu_rootLabelImage":     { "message": "Nach diesem Bild suchen" },
  "menu_openMulti":          { "message": "Alle in Tabs suchen" },
  "ellipsis":                { "message": "…" },
  "opt_title":               { "message": "Erweiterungs-Einstellungen" },
  "opt_openInBackground":    { "message": "In Hintergrund-Tab öffnen" },
  "opt_openInForeground":    { "message": "In Vordergrund-Tab öffnen" },
  "opt_openInCurrentTab":    { "message": "Suchergebnisse im aktiven Tab öffnen" },
  "opt_openNewTab":          { "message": "Suchergebnisse in einem neuen Tab öffnen" },
  "opt_showMultiOption":     { "message": "Mehrfachsuche aktivieren" },
  "opt_showFavicons":        { "message": "Website-Symbole laden" },
  "opt_enableShortcuts":     { "message": "Shortcuts aktivieren" },
  "help_title":              { "message": "Hilfe nötig? Hier geht es zur" },
  "help_linkText":           { "message": "Start-Anleitung" },
  "help_locale":             { "message": "en",
                               "description": "Location and language of help page. Should be located in /_locales/{locale}/help.html. Fallback to {en}" },
  "info_title":              { "message": "Shortcuts" },
  "info_openInCurrentTab":   { "message": "Im aktiven Tab öffnen: " },
  "info_openInNewTab":       { "message": "In neuem Tab öffnen: " },
  "info_modKeyWinLin":       { "message": "Strg"},
  "info_modKeyMac":          { "message": "Befehlstaste"},
  "info_shiftKey":           { "message": "Umschalt"},
  "info_middleClick":        { "message": "Mittel-Klick"},
  "info_leftClick":          { "message": "Links-Klick"},
  "info_or":                 { "message": "oder"}
}

I didn't get to the help file yet. But until then, it's probably better to copy the English file to the "de" directory. Otherwise the file is missing and an error page is displayed, not the English content as the message suggests. (I didn't translate that message because it doesn't work.)

ygoe avatar Jan 24 '22 23:01 ygoe

@solokot and @ygoe: Thanks for the translations. Changes are merged and coming in the next update.

NumeriusNegidius avatar Feb 05 '22 14:02 NumeriusNegidius