From 040bcb6e15503113274448c600512a8e4db7be4f Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sat, 21 Aug 2021 12:41:47 -0400 Subject: [PATCH] Clean up some UTF --- content/blog/2019-08-11-Setting-up-JA.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/content/blog/2019-08-11-Setting-up-JA.md b/content/blog/2019-08-11-Setting-up-JA.md index 5f77d37..45a2783 100644 --- a/content/blog/2019-08-11-Setting-up-JA.md +++ b/content/blog/2019-08-11-Setting-up-JA.md @@ -6,7 +6,7 @@ date: 2019-08-12 tags: notes languages --- -I am currently working with [ひらがな](https://en.wikipedia.org/wiki/Hiragana), [かたかな](https://en.wikipedia.org/wiki/Katakana), and, [かんじ](https://en.wikipedia.org/wiki/Kanji) in some projects, and needed a more reliable way to write than running some [romaji](https://en.wikipedia.org/wiki/Romanization_of_Japanese) through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for [i3wm](https://i3wm.org/), because it does not obey system settings for languages and inputs. +I am currently working with [Hiragana](https://en.wikipedia.org/wiki/Hiragana), [Katakana](https://en.wikipedia.org/wiki/Katakana), and, [Kanji](https://en.wikipedia.org/wiki/Kanji) in some projects, and needed a more reliable way to write than running some [romaji](https://en.wikipedia.org/wiki/Romanization_of_Japanese) through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for [i3wm](https://i3wm.org/), because it does not obey system settings for languages and inputs. ## Adding font support to Linux Firstly, we need fonts. Depending on your system, these may already be installed. For Japanese, I only used `vlgothic`, so here in the package for it: @@ -89,8 +89,3 @@ Now, log out and in again to let ibus properly start again, and there should now `ibus` runs in the background and will show an indication of your selected language upon pressing the keyboard shortcut set in the [setup tool](#configuring-ibus). For languages like Japanese, where it's writing systems do not use the English / Latin-based alphabets, `ibus` will automatically convert your words as you type (this behavior will be different from language to language). An example of this is as follows. I want to write the word *Computer* in Japanese (Katakana to be exact). I would switch to `mozc` input, and start typing the romaji word for computer, *Pasokon*. This will automatically be converted to Hiragana, *ぱそこん*. *Computer* is not a word that one would write in Hiragana as far as I know, so Katakana would be a better choice. To convert this word, I just press `Space` (This is indicated in the bottom left of my screen by `ibus`), and I now have *パソコン*, the Katakana word for *Computer*! - ---- - -#### After Note: Languages -In case you can't tell, English is my native language. If I messed up my spelling or context with the small amount of Japanese in this post, [let me know](/about#chat-with-me)! \ No newline at end of file