Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Translations

Gaël Poupard edited this pageSep 1, 2022 ·4 revisions

a11y.css currently exists in English, French, Chinese, Russian, Portuguese, Arabic, Greek, Spanish and Polish: you'll find all those files in thecss folder. That being said, translatinga11y.css in another language is quite easy to do.

  1. Add a translation file insass/locales folder named after your language (e.g._fr.scss);

  2. Copysass/a11y-en.scss, rename ita11y-<your-language>.scss and change the first import statement to@import 'locales/<your-language>';;

  3. Repeat step 2 with:

  • a11y-<your-language>_error.scss;
  • a11y-<your-language>_warning.scss;
  • a11y-<your-language>_obsolete.scss;
  1. Finally runnpm run build to generate new CSS files.

Your PR diff should:

  • add/sass/locales/_<your-language>.scss;
  • add 4 SCSS files in/sass/;
  • add 4 CSS files in/CSS/.

Done!

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp