liuderchi / atom-i18n Goto Github PK
View Code? Open in Web Editor NEW:atom: One Atom i18n Package for Any Locale :earth_asia: :earth_americas: :earth_africa:
Home Page: https://atom.io/packages/atom-i18n
License: MIT License
:atom: One Atom i18n Package for Any Locale :earth_asia: :earth_americas: :earth_africa:
Home Page: https://atom.io/packages/atom-i18n
License: MIT License
After the 'Settings' tab being reopen it just resets the language back to English.
I'm using a Russian translation for Atom.
Looks like this bug only in Settings tab, because other tabs working fine and didn't reset the lang. Menu items shown on English but title still being on Russian.
according to #64 by @trifirew
up to date
and check now
would show up, checking for updates
would not work for now.up to date
to checking for update
), translation will not show up.translate def/ja/settings.cson
title: "Packages With Keymaps Disabled"
at line 134
title: "Reopen Project Menu Count"
desc: "How many recent projects to show in the Reopen Project menu."
at line 143,144
title: "Restore Previous Windows On Start"
at line 148
Please help translate: .
locale code: hu
locale code table
files Required translation:
def/hu/about.cson
def/hu/context.cson
def/hu/menu_darwin.cson
def/hu/menu_linux.cson
def/hu/menu_win32.cson
def/hu/settings.cson
def/hu/welcome.cson
Please help translate: .
locale code: eo
locale code table
files Required translation:
def/eo/about.cson
def/eo/context.cson
def/eo/menu_darwin.cson
def/eo/menu_linux.cson
def/eo/menu_win32.cson
def/eo/settings.cson
In settings.cson
, some keys are used as identifier for package execution
where should not be translated. Currently this is explained in NOTICE #2 in CONTRIBUTING.md
.
It's better to add prefix on those keys to enhance experience of translation.
def/*/settings.cson
CONTRIBUTING.md
For Atom in windows, there is "Group" section in About tab
which has not been translated yet.
notification
api when locale config is changed[Enter steps to reproduce:]
Atom: 1.16.0 x64
Electron: 1.3.13
OS: Linux Mint
Thrown From: atom-i18n package 0.8.0
Uncaught TypeError: Cannot set property 'innerHTML' of null
At /home/clsalberto/.atom/packages/atom-i18n/lib/welcome.coffee:22
TypeError: Cannot set property 'innerHTML' of null
at Welcome.updateWelcome (/packages/atom-i18n/lib/welcome.coffee:22:7)
atom-i18n 0.8.0
atom-less 0.1.10
atom-sass 0.4.0
atom-save-all 0.4.1
language-blade 0.29.0
language-ini 1.19.0
language-pgsql 0.2.3
laravel 0.7.1
minimap 4.27.1
minimap-find-and-replace 4.5.2
trailing-spaces 0.4.0
When using this package, an additional untranslated item appear at the right of the Help menu. This item is a duplicate of the element Reopen Project in the File menu. The translated item is still displayed in the translated File menu.
It appears in every language, once Atom has been reloaded.
If the package is disabled, the item does not appear anymore.
This rogue item should never be displayed. Maybe it's because it is automatically populated.
[Enter steps to reproduce:]
This is all very new to me so please bare with me if I did forget a step. If you could help me get started then I will see to it that there is a Dutch version asap.
Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.3
Thrown From: atom-i18n package 0.7.0
Failed to activate the atom-i18n package
At Cannot find module 'cson'
Error: Cannot find module 'cson'
at Module._resolveFilename (module.js:455:15)
at Module._resolveFilename (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at /packages/atom-i18n/lib/main.coffee:2:8)
at /packages/atom-i18n/lib/main.coffee:1:1)
at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
at /app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (/app.asar/src/package.js:796:27)
at Package.module.exports.Package.activateNow (/app.asar/src/package.js:207:16)
at /app.asar/src/package.js:190:32
at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
at /app.asar/src/package.js:183:26
at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
at /app.asar/src/package-manager.js:531:29
at Config.module.exports.Config.transactAsync (/app.asar/src/config.js:337:18)
at PackageManager.module.exports.PackageManager.activatePackages (/app.asar/src/package-manager.js:526:19)
at PackageManager.module.exports.PackageManager.activate (/app.asar/src/package-manager.js:508:46)
at /app.asar/src/atom-environment.js:812:28
atom-i18n 0.7.0
cson 2.0.1
default-language 0.3.0
Файлы, требующие перевода:
Для получения дополнительной информации ознакомьтесь с CONTRIBUTING.md
Please help translate: Polish.
locale code: pl
locale code table
files Required translation:
def/pl/about.cson
def/pl/context.cson
def/pl/menu_darwin.cson
def/pl/menu_linux.cson
def/pl/menu_win32.cson
def/pl/settings.cson
def/pl/welcome.cson
Please help translate: Catalan.
locale code: ca
locale code table
files Required translation:
def/ca/about.cson
def/ca/context.cson
def/ca/menu_darwin.cson
def/ca/menu_linux.cson
def/ca/menu_win32.cson
def/ca/settings.cson
def/ca/welcome.cson
files require translation:
def/de/about.cson
def/de/context.cson
def/de/menu_darwin.cson
def/de/menu_linux.cson
def/de/menu_win32.cson
def/de/settings.cson
for more info please checkout CONTRIBUTING.md
update: solved by #45
Please help translate: .
locale code: sq
files Required translation:
def/sq/about.cson
def/sq/context.cson
def/sq/menu_darwin.cson
def/sq/menu_linux.cson
def/sq/menu_win32.cson
def/sq/settings.cson
def/sq/welcome.cson
Files require translation:
def/az/about.cson
def/az/context.cson
def/az/menu_darwin.cson
def/az/menu_linux.cson
def/az/menu_win32.cson
def/az/settings.cson
For more info please checkout CONTRIBUTING.md
Missing button "Check for Updates", "Update All"
in page: Settings > Available Updates in v1.15
NOTE
:before
in v1.15.
textContent
of the DOM node.Please help translate: .
locale code: km
locale code table
files Required translation:
def/km/about.cson
def/km/context.cson
def/km/menu_darwin.cson
def/km/menu_linux.cson
def/km/menu_win32.cson
def/km/settings.cson
I'm really enthusiastic about this plugin, as I've been seeking for a way to translate Atom. The only thing is I don't like having half of the interface translated and I, like most Atom users, use plugins. I don't know if it's possible, but I'd like a way to translate plugins. If it's not possible, please leave this open as a reminder.
It could take the form of translate/
folder which contains translations and an interpolation API.
Please help translate: .
locale code: th
locale code table
files Required translation:
def/th/about.cson
def/th/context.cson
def/th/menu_darwin.cson
def/th/menu_linux.cson
def/th/menu_win32.cson
def/th/settings.cson
def/th/welcome.cson
Please help translate: .
locale code: it
locale code table
files Required translation:
def/it/about.cson
def/it/context.cson
def/it/menu_darwin.cson
def/it/menu_linux.cson
def/it/menu_win32.cson
def/it/settings.cson
def/it/welcome.cson
files Required translation:
def/pl/about.cson
def/pl/context.cson
def/pl/menu_darwin.cson
def/pl/menu_linux.cson
def/pl/menu_win32.cson
def/pl/settings.cson
Please help translate:
locale code: uk
(ukr: Українська (скрипниківка))
files Required translation:
def/uk/about.cson
def/uk/context.cson
def/uk/menu_darwin.cson
def/uk/menu_linux.cson
def/uk/menu_win32.cson
def/uk/settings.cson
def/uk/welcome.cson
I'll start to translate atom in my spare time but you're more than welcome to join. Just take one and let others know which file you'll care of.
reload()
or restartApplication()
Atom stylesheet styles.less
doesn't work in translated page (i.e. Settings).
Try to change font of Settings UI with styles.less
.settings-view {
font-family: "Trebuchet MS";
}
atom-i18n
installed)atom-i18n
installed and enabled)[Enter steps to reproduce:]
Atom: 1.23.1 x64
Electron: 1.6.15
OS: Debian GNU/Linux
Thrown From: atom-i18n package 0.13.2
Uncaught TypeError: Cannot set property 'textContent' of null
At /home/samiel/.atom/packages/atom-i18n/lib/welcome.js:47
TypeError: Cannot set property 'textContent' of null
at Function.updateWelcome (/packages/atom-i18n/lib/welcome.js:47:50)
at setTimeout (/packages/atom-i18n/lib/welcome.js:59:38)
atom-i18n 0.13.2
title1
files require translation:
def/pt-br/about.cson
def/pt-br/context.cson
def/pt-br/menu_darwin.cson
def/pt-br/menu_linux.cson
def/pt-br/menu_win32.cson
def/pt-br/settings.cson
for more info please checkout CONTRIBUTING.md
files require translation:
def/ar/about.cson
def/ar/context.cson
def/ar/menu_darwin.cson
def/ar/menu_linux.cson
def/ar/menu_win32.cson
def/ar/settings.cson
for more info please checkout CONTRIBUTING.md
locale code: tr
files Required translation:
def/tr/about.cson
def/tr/context.cson
def/tr/menu_darwin.cson
def/tr/menu_linux.cson
def/tr/menu_win32.cson
def/tr/settings.cson
def/tr/welcome.cson
DOM structure of 'Available Updates' heading has changed in v1.16 (currently in beta)
Requirement
The menu_linux.cson
[1] file on the template folder has some non English characters, and all the others files copied from the template has the same problem.
[1] https://github.com/liuderchi/atom-i18n/blob/master/def/template/menu_linux.cson#L245-L247
New UI elements up to Atom v1.15 (currently beta) are added to settings page.
New i18n Items are added according to this commit:
settings.cson
core.closeDeletedFileTabs
(x2)desc
of core.restorePreviousWindowsOnStart
(x1)core.useProxySettingsWhenCallingApm
(x2)editor.showCursorOnSelection
(x2)progress
Recommended to support user-defined CSON translation file recommendations to support user-defined CSON translation file
Commonly used libraries, no longer support the translation, you want to customize the CSON path, the introduction of their own translation files
Of course, now I just change the CSON file in Package, a little bit of gimmick dirty.
建议支持用户自定义CSON翻译文件 建议支持用户自定义CSON翻译文件.
常用的库,不再已经支持的翻译中,想要自定义CSON路径,引入自己的翻译文件.
当然,现在我是直接改的Package中 CSON 文件,手法有点dirty.
Currently not all cson file has same number of key-value pairs.
Thanks to Travis CI service we can automatically validate cson files
Please help translate: .
locale code: Portuguese(Brazil)
pt-br
files Required translation:
def/pt-br/about.cson
def/pt-br/context.cson
def/pt-br/menu_darwin.cson
def/pt-br/menu_linux.cson
def/pt-br/menu_win32.cson
def/pt-br/settings.cson
def/pt-br/welcome.cson
files require translation:
def/nl/about.cson
#73def/nl/context.cson
#73def/nl/menu_darwin.cson
#73def/nl/menu_linux.cson
def/nl/menu_win32.cson
def/nl/settings.cson
#73def/nl/welcome.cson
for more info please checkout CONTRIBUTING.md
files require translation:
def/hi/about.cson
def/hi/context.cson
def/hi/menu_darwin.cson
def/hi/menu_linux.cson
def/hi/menu_win32.cson
def/hi/settings.cson
for more info please checkout CONTRIBUTING.md
translate def/es/settings.cson
html
section under _id: 'editor-settings-note'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.