add full Kyrgyz (ky) localization 🇰🇬#1977
add full Kyrgyz (ky) localization 🇰🇬#1977noblepower1337 wants to merge 1 commit intoLissy93:masterfrom
Conversation
✅ Deploy Preview for dashy-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Lissy93
left a comment
There was a problem hiding this comment.
Thanks!
But this won't yet work, until the language has been registered / imported. You can see the docs in https://github.com/Lissy93/dashy/blob/master/docs/multi-language-support.md#adding-a-new-language for how to do this.
In
./src/utils/languages.js, you need to do 2 small things:First import your new translation file, do this at the top of the page.
E.g.import de from '@/assets/locales/de.json';Second, add it to the array of languages, e.g:
export const languages = [ { name: 'English', code: 'en', locale: en, flag: '🇬🇧', }, { name: 'German', // The name of your language code: 'de', // The ISO code of your language locale: de, // The name of the file you imported (no quotes) flag: '🇩🇪', // An optional flag emoji }, ];You can also add your new language to the readme, under the Language Switching section and optionally include your name/ username if you'd like to be credited for your work. Done!
Please check again. I did everything. |
|
@noblepower1337 You need to push everything to the same (this) PR: So you need to push the changes proposed in the following PRs into this one https://github.com/Lissy93/dashy/pull/1987/files And I suppose this (#1976) can be closed in favour of this PR? |
|
Am I right in thinking that the country code for this is actually If so, I can make the updates for you: 1) Rename |
Category:
Overview
Issue Number (if applicable) #00
New Vars (if applicable)
Screenshot (if applicable)
Code Quality Checklist (Please complete)