Find a Doc is a free online resource aimed at helping connect the foreign community in Japan with health services in their native language.

Overview

Website ESLint Python application GitHub Forks

Find a Doc - Localization

Find a Doc is a free online resource aimed at helping connect the foreign community in Japan with health services in their native language.

Translations are initially created by machine in a special file format, and then edited by volunteers to be published on the site.

How to Contribute

If you speak a foreign language and can help translate files, Go to 👉️ Translator Guide

If are a developer trying to add internationalization (i18n) keys, Go to 👉️ Developer Guide

Translator Guide

The easiest and fastest way to contribute is through Git. Simply clone this repo and open a PR to merge your changes.

If you're new to Git, here are some easy steps you can take to get started:

Beginner Git

  1. Go into the locales folder and click on the language file you wish to contribute to. It will take you to a screen that will show you its content. (Note if you are creating a new language file, copy from en.json and please name the new file using the two-letter language codes defined here) Select Language

  2. Click the edit button so you can directly edit the translation through your browser. Use the en.json file and the website as the reference content. Edit Button

Make sure to only edit the part inside of the quotation marks of your selected language.

You might notice the files are in a special format so the computer can read it. This format is called JSON (JavaScript Object Notation) and contains a key on the left side, and a value on the right side. Notice that the key names are in English, and sometimes the letters are squished together like this noSpacesHere. Please only edit the values, not the keys. Note the example below has a key of "vaccine" and a value translated into Japanese.

{
   "key": "value",
   "vaccine": "ワクチン"
}

If this is confusing or you get stuck, we are here to help. See contact information below 😊

  1. Select the Create a new branch for this commit and start a pull request option at the bottom of the page. Then click the Propose changes button. Create Branch

  2. Optional - Add any comments you want to make on the pull request screen. Open PR

  3. Click the Create pull request button.

Thank you! Your changes will be reviewed!

If you have any trouble with this document, please file an issue or reach out to @stonecoldkilzer on Twitter

Developer Guide

  1. Fork & clone this repo to your computer
  2. Edit the locales/en.json to contain the new keys.
  3. If you know another language, feel free to add the same key and translation to the appropriate locale file. Omit if you don't know it; we use English as the fallback language so nothing will break.
  4. Make a pull request in this repo and wait for it to be merged to main
  5. Make your change in the parent repository with the new i18n keys and submit your PR 🎉
Comments
  • Update french translation

    Update french translation

    I've added missing translation. I assume that "Find a Doc, JAPAN" should not be translated because it's the name of the website, but if you do want it translated, it would be : "Trouver un médecin, JAPON" :)

    opened by JohnTitor2036 4
  • Update es.json

    Update es.json

    I've added missing translation, unified tone of voice and made the existing translations more natural and gender-neutral. I'd like to keep contributing to this language.

    opened by kangy1989 3
  • Update French translations

    Update French translations

    I noticed some keys that were missing and some translations that were not up to date anymore. Leveraged (and modified) Deepl's amazing machine translations to make my life easier.

    I'm also not up to speed re: inclusive writing in French. I wanted to change all é (and equivalent) to é(e) but I'm not sure if that is considered "correct" 🤔

    opened by jcrevits 3
  • Revive clobbered translations 2

    Revive clobbered translations 2

    Attempt to revive the clobbered translations. 🙇🏻‍♀️

    Resolves #56

    This is delicate because I can't understand all the other languages. However, I am prioritizing files that have been edited and will carefully link prior PRs to check this work.

    Manually checked all the PRs prior to the machine translation commit in #23 and ensured we've kept those authors' changes.

    opened by ann-kilzer 3
  • Warning: commit #23 has rolled back some translations

    Warning: commit #23 has rolled back some translations

    I saw that commit #23 (7099d874775890c9811a37861e6075f9a2e084ac) has changed some translations into their older states. This is the case for the French translation, where my contributions have been lost in the process, and some other translations may have been impacted. Just to warn you!

    bug help wanted 
    opened by richoux 2
  • 🌐 Interactive Translation Manager

    🌐 Interactive Translation Manager

    Issues

    Addresses issue #149

    Changelog: 📝

    • Interactive translation manager: Can translate fast from the terminal to a target language in an interactive session. Exports the strings to the corresponding language JSON file.
    • More error checks: New InvalidLanguageError exception in case an invalid language has been requested for translation.
    • Better KeyboardInterrupt exception handling.
    • Added README to explain how to use the translation manager.

    Check the following video for what the interactive translation manager does: animation

    TODO: ☑️

    • Provide option that only new keys (keys that do not yet exist or have a non-empty value in the target JSON) shall be prompted for translation (second task of #149).

    Other

    Please add the hacktoberfest-accepted label to this pull request if it is accepted! 😃

    hacktoberfest-accepted 
    opened by marciska 1
  • One char update to the JP translation for shinyokohama

    One char update to the JP translation for shinyokohama

    One character change, from "横浜以外で" -> "横浜以外に". This was a snafu due to changing some phrasing during translation and I missed it. Apologies.

    opened by renderf0x 1
  • Update tr.json

    Update tr.json

    Hi there! Just some updates to tr.json to catch up with latest en.json.

    Let me know if this needs any updates, or if there's something else I can help with.

    opened by kyzn 1
  • Python Script Improvements

    Python Script Improvements

    Checklist for the python script:

    • [x] command to remove a key, e.g. remove_key key.subkey.subsub
    • [ ] command to get percentage completion of each language
    • [x] trim dead keys
    • [ ] wire Python Status badge to Readme

    I'll work on this

    enhancement 
    opened by ann-kilzer 0
Releases(v1.2.0)
  • v1.2.0(Jan 28, 2022)

  • 1.1.8(Sep 12, 2021)

  • v1.1.7(Sep 11, 2021)

  • v1.1.6(Sep 10, 2021)

  • v1.1.5(Sep 10, 2021)

    Changes

    • Update ja.json @theyokohamalife (#145)
    • Update en.json @theyokohamalife (#144)
    • Update ne.json @bbqbum33 (#142)
    • Small update to fil.json @bbqbum33 (#140)
    • Update my.json about page @bbqbum33 (#139)
    • Update Mongolian About Page @bbqbum33 (#138)
    • Update zh_CN.json @ayalan (#137)
    • Amended Dutch translations @victorp13 (#136)
    • Tooling delete key @ann-kilzer (#133)
    • Update French translation @JohnTitor2036 (#135)
    • Update de.json @astandke (#134)
    • Update translation in Portuguese @leticiarina (#132)
    • Fix quotes @ann-kilzer (#131)
    • Update ar.json @bbqbum33 (#130)
    • Update th.json @bbqbum33 (#129)
    • Update id.json @bbqbum33 (#128)
    • Update vi.json 8/9 @baotruong18 (#127)
    • Update release-drafter.yml @ann-kilzer (#126)
    • Updated ja.json @naizdptpaccum (#122)
    • Update fil.json @bbqbum33 (#124)
    • Auto-draft releases @ann-kilzer (#125)
    • Added mn option @bbqbum33 (#123)
    • Updated it.json @naizdptpaccum (#121)
    • Updated portoguese @naizdptpaccum (#120)
    • Updated es.json to match revamped en.json @kangy1989 (#114)
    • Update my.json @bbqbum33 (#117)
    • Italian Language full translation @naizdptpaccum (#119)
    • Update mn.json @bbqbum33 (#118)
    • Update ko.json @bbqbum33 (#115)
    • Update vi.json @bbqbum33 (#116)
    • Added Myanmar(Burmese) language @yelinnwai (#112)
    • Bump version for new strings @renderf0x (#113)
    • New about page string keys added @renderf0x (#110)
    • couple of updates to ja.json @alexmalins (#111)
    • Latest en keys @ann-kilzer (#108)
    • Use "Find A Doc" in JP @ann-kilzer (#109)
    • ja translations for new keys from PR #106 @alexmalins (#107)
    Source code(tar.gz)
    Source code(zip)
  • v1.1.4(Sep 10, 2021)

    Changes

    • Update en.json @theyokohamalife (#144)
    • Update ne.json @bbqbum33 (#142)
    • Small update to fil.json @bbqbum33 (#140)
    • Update my.json about page @bbqbum33 (#139)
    • Update Mongolian About Page @bbqbum33 (#138)
    • Update zh_CN.json @ayalan (#137)
    • Amended Dutch translations @victorp13 (#136)
    • Tooling delete key @ann-kilzer (#133)
    • Update French translation @JohnTitor2036 (#135)
    • Update de.json @astandke (#134)
    • Update translation in Portuguese @leticiarina (#132)
    • Fix quotes @ann-kilzer (#131)
    • Update ar.json @bbqbum33 (#130)
    • Update th.json @bbqbum33 (#129)
    • Update id.json @bbqbum33 (#128)
    • Update vi.json 8/9 @baotruong18 (#127)
    • Update release-drafter.yml @ann-kilzer (#126)
    • Updated ja.json @naizdptpaccum (#122)
    • Update fil.json @bbqbum33 (#124)
    • Auto-draft releases @ann-kilzer (#125)
    • Added mn option @bbqbum33 (#123)
    • Updated it.json @naizdptpaccum (#121)
    • Updated portoguese @naizdptpaccum (#120)
    • Updated es.json to match revamped en.json @kangy1989 (#114)
    • Update my.json @bbqbum33 (#117)
    • Italian Language full translation @naizdptpaccum (#119)
    • Update mn.json @bbqbum33 (#118)
    • Update ko.json @bbqbum33 (#115)
    • Update vi.json @bbqbum33 (#116)
    • Added Myanmar(Burmese) language @yelinnwai (#112)
    • Bump version for new strings @renderf0x (#113)
    • New about page string keys added @renderf0x (#110)
    • couple of updates to ja.json @alexmalins (#111)
    • Latest en keys @ann-kilzer (#108)
    • Use "Find A Doc" in JP @ann-kilzer (#109)
    • ja translations for new keys from PR #106 @alexmalins (#107)
    Source code(tar.gz)
    Source code(zip)
  • v1.1.3(Aug 25, 2021)

  • v1.1.2(Aug 20, 2021)

  • v1.1.1(Aug 18, 2021)

  • v1.1.0(Aug 17, 2021)

  • v1.0.14(Aug 17, 2021)

  • v1.0.13(Aug 16, 2021)

  • v1.0.12(Aug 11, 2021)

    Changes

    • Update ar.json @bbqbum33 (#130)
    • Update th.json @bbqbum33 (#129)
    • Update id.json @bbqbum33 (#128)
    • Update vi.json 8/9 @baotruong18 (#127)
    Source code(tar.gz)
    Source code(zip)
  • v1.0.11(Aug 9, 2021)

    Changes

    • Updated ja.json @naizdptpaccum (#122)
    • Update fil.json @bbqbum33 (#124)
    • Auto-draft releases @ann-kilzer (#125)
    • Added mn option @bbqbum33 (#123)
    • Updated it.json @naizdptpaccum (#121)
    • Updated portoguese @naizdptpaccum (#120)
    • Updated es.json to match revamped en.json @kangy1989 (#114)
    • Update my.json @bbqbum33 (#117)
    • Italian Language full translation @naizdptpaccum (#119)
    • Update mn.json @bbqbum33 (#118)
    • Update ko.json @bbqbum33 (#115)
    • Update vi.json @bbqbum33 (#116)
    • Added Myanmar(Burmese) language @yelinnwai (#112)
    • Bump version for new strings @renderf0x (#113)
    • New about page string keys added @renderf0x (#110)
    • couple of updates to ja.json @alexmalins (#111)
    • Latest en keys @ann-kilzer (#108)
    • Use "Find A Doc" in JP @ann-kilzer (#109)
    • ja translations for new keys from PR #106 @alexmalins (#107)
    • Update release-drafter.yml @ann-kilzer (#126)
    Source code(tar.gz)
    Source code(zip)
  • v1.0.10(Aug 8, 2021)

  • v1.0.6(Jul 24, 2021)

  • v1.04(Jul 24, 2021)

  • v1.0.1(Jun 29, 2021)

  • 1.0.0(Jun 28, 2021)

Format Covid values to ASCII-Table (Only for Germany and Austria)

Covid-19-Formatter (Only for Germany and Austria) Dieses Script speichert die gemeldeten Daten des RKIs / BMSGPK und formatiert diese zu einer Asci Ta

56 Jan 22, 2022
py-trans is a Free Python library for translate text into different languages.

Free Python library to translate text into different languages.

I'm Not A Bot #Left_TG 13 Aug 27, 2022
The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity

Contents Maintainer wanted Introduction Installation Documentation License History Source code Authors Maintainer wanted I am looking for a new mainta

Antti Haapala 1.2k Dec 16, 2022
Open-source linguistic ethnography tool for framing public opinion in mediatized groups.

Open-source linguistic ethnography tool for framing public opinion in mediatized groups. Table of Contents Installing Quickstart Links Installing Pyth

Qualichat 7 Jun 02, 2022
Production First and Production Ready End-to-End Keyword Spotting Toolkit

WeKws Production First and Production Ready End-to-End Keyword Spotting Toolkit. The goal of this toolkit it to... Small footprint keyword spotting (K

222 Dec 30, 2022
一款高性能敏感词(非法词/脏字)检测过滤组件,附带繁体简体互换,支持全角半角互换,汉字转拼音,模糊搜索等功能。

一款高性能非法词(敏感词)检测组件,附带繁体简体互换,支持全角半角互换,获取拼音首字母,获取拼音字母,拼音模糊搜索等功能。

ToolGood 3.6k Jan 07, 2023
Returns unicode slugs

Python Slugify A Python slugify application that handles unicode. Overview Best attempt to create slugs from unicode strings while keeping it DRY. Not

Val Neekman 1.3k Jan 04, 2023
The app gets your sutitle.srt and proccess it to extract sentences

DubbingAssistants This app gets your sutitle.srt and proccess it to extract sentences, and also find Start time and End time of them. Step 1: install

Ali Booresh 1 Jan 04, 2022
Athens: a great tool for taking notes and organising knowldge

AthensSyncer Athens is a great tool for taking notes and organising knowldge. But it is a bummer that you cannot use it accross multiple devices. Well

6 Dec 14, 2022
This script has been created in order to find what are the most common demanded technologies in Data Engineering field.

This is a Python script that given a whole corpus of job descriptions and a file with keywords it extracts the number of number of ocurrences of these keywords and write it to a file. This script it

Antonio Bri Pérez 0 Jul 17, 2022
PyMultiDictionary is a Dictionary Module for Python 3+ to get meanings, translations, synonyms and antonyms of words in 20 different languages

PyMultiDictionary PyMultiDictionary is a Dictionary Module for Python 3+ to get meanings, translations, synonyms and antonyms of words in 20 different

Pablo Pizarro R. 19 Dec 26, 2022
Um simulador de caixa registradora com database usando arquivos .txt

🛒 Caixa Registradora V2 ❓ - Como usar? Execute o caixa-registradora.py, nele vai ter um menu interativo, você pode cadastrar diversos produtos em um

Gabriel 0 Sep 25, 2022
The bot creates hashtags for user's texts in Russian and English.

telegram_bot_hashtags The bot creates hashtags for user's texts in Russian and English. It is a simple bot for creating hashtags. NOTE file config.py

Yana Davydovich 2 Feb 12, 2022
split Word file by chapter

split Word file by chapter we use the mircosoft word api to code this tool api url:https://docs.microsoft.com/zh-cn/dotnet/api/ if this tool is good f

wisdom under lemon trees 5 Nov 06, 2021
Wordle strategy: Find frequency of letters appearing in 5-letter words in the English language

Find frequency of letters appearing in 5-letter words in the English language In

Gabriel Apolinário 1 Jan 17, 2022
Hspell, the free Hebrew spellchecker and morphology engine.

Hspell, the free Hebrew spellchecker and morphology engine.

16 Sep 15, 2022
Tools to extract questionaire of finalexam.eu and provide interactive questionaire with summary

AskMe This script is completely terminal based. No user interface is added. You can get the command line options by using the --help argument. Make su

David Loewe 1 Nov 09, 2021
JSON and CSV data for Swahili dictionary with over 16600+ words

kamusi JSON and CSV data for swahili dictionary with over 16600+ words. This repo consists of data from swahili dictionary with about 16683 words toge

Jordan Kalebu 8 Jan 13, 2022
A simple Python module for parsing human names into their individual components

Name Parser A simple Python (3.2+ & 2.6+) module for parsing human names into their individual components. hn.title hn.first hn.middle hn.last hn.suff

Derek Gulbranson 574 Dec 20, 2022
PyNews 📰 Simple newsletter made with python 🐍🗞️

PyNews 📰 Simple newsletter made with python Install dependencies This project has some dependencies (see requirements.txt) that are not included in t

Luciano Felix 4 Aug 21, 2022