Nicegram wants to deliver best experience for every user in every language.
Nicegram invites everyone to Translate, Spellcheck and Suggest new translations or languages!
Please, Try to look at official translations if you need an inspiration.
Discuss translations in chat if you're not sure.
Translate: https://translate.nicegram.app
Ping @Kylmakalle if you've done a new translation, so it will be added in the app.
It's hard to control translations via telegra.ph or other platforms. So now Nicegram using this website.
Steps to translate:
-
Fork/Download this repo
-
Create new
<lang>
folder withreadme.md
. Translation will be available athttps://nicegram.app/<lang>
-
For each article create separated folder. Translation will be available at
https://nicegram.app/<lang>/<folder>
-
For referencing other article, use
[Text](/<lang>/article)
-
If you're translating images too, create folder
images
inside. If not, you can reference original (english) images with string like../../faq/images/banner.png
-
Recommendation: Try to use local
images
folder instead of images url, because some hostings can be blocked in your country. -
Add article links to main page if you've done a new translation.
-
Submit a pull-request and ping @Kylmakalle
Please, do not translate chats
section, just refer to /chats
You can use this folder with Russian translation as example.
Example Pull Request for addding Turkish translation.
Small python script that will create a header which you can insert in table of contents. (not sure if works for chinese)
Online: https://repl.it/repls/SpecificIndigoOperatingsystem (hit Run)
Local:
import string
def sanitize(s):
return "#" + s.lower().translate(str.maketrans('', '', string.punctuation)).replace(' ', '-')
while True:
st = input('Enter header: ')
print('\n')
print(sanitize(st))
print('\n')
Thank you in advance!