Hong Kong Cantonese localization / translation for Notepad++
This repo is created for Hong Kong Cantonese localization for Notepad++.
All translations are done by human based on:
:heart: Notepad++. :heart: Hong Kong. :heart: Hongkongers.
For common users to install and test it in Notepad++:
You can download this repo directly.
Unzip the downloaded file, properly called <notepad-plus-plus-localization-hong-kong-master>
.
Copy and replace the XML file <nativeLang.xml>
in your user settings with the file <hongKongCantonese.xml>
in this repo.
Source | Target | |
---|---|---|
File name | <hongKongCantonese.xml> |
<nativeLang.xml> |
Directory | Root of this repo | <%USERPROFILE%\AppData\Roaming\Notepad++\> |
Restart Notepad++ to apply the change.
To revert the localization: On Notepad++ menu, click 設定 (Settings) ▶︎ 偏好設定 (Preferences) ▶︎ choose an option in 本地化 (Localization).
For better experience, you can use Command Prompt to help a little bit:
:: Clone from my repo or yours
git clone https://github.com/Edditoria/notepad-plus-plus-localization-hong-kong.git
cd notepad-plus-plus-localization-hong-kong
:: Initiate submodule at the first time
git submodule init
:: Update submodule after git pull
git submodule update
:: Inject (Copy) to Notepad++
.\tools\inject.cmd .\hongKongCantonese.xml
Every time you make some changes, you can use the above "inject" command to update. Restart Notepad++ to take effect.
The above information is written for Notepad++ developers and international users. From now on, I would write in Hong Kong Cantonese.
Notepad++ 轉介面語言嘅講法係叫 localization 而唔係 translation,所謂本地化,唔係一味轉晒啲字做中文就算,而係要真實咁反映我哋嘅文化,要貼近日常生活。所以,我係以呢啲方針嚟寫嘅:
每一句我都會重複想像情境,例如喺 office:
總之,譯嘢要符合生活情景,文化傳承要貼地、本土,唔求優雅唔怕庸俗。
已經出咗一段日子,我個人覺得都 okay 啦,有啲細節位有改善空間:
歡迎開 issue 傾傾,歡迎掟個 PR 上嚟,更歡迎大家開心 share。
<.editorconfig>
,跟返 EOL 字元、tab/space,盡量啦唔該。 :pray:Copyright (c) Edditoria. All rights reserved. Code released under the MIT License. Docs released under Creative Commons.
As human-readable summary (but not a substitute for the license):
You can use it, share it, modify the codes and distribute your work for private and commercial uses. If you like, please share your work with me. :pizza:
Notepad++ is a free (free as in both "free speech" and "free beer") source code editor and Notepad replacement that supports several programming languages and natural languages. Running in the MS Windows environment, its use is governed by GPL License.