Skip to content

Typing in Vietnamese

Minh Nguyễn edited this page Mar 3, 2016 · 7 revisions

English | Español | Tiếng Việt

Once you install the extension and restart Firefox, the Mixed input method is automatically enabled. To toggle AVIM on and off, click AVIM’s toolbar button (labeled “Mixed” by default), or press Ctrl twice in a row (⌃⌃ on the Mac). To switch to a different input method, go to Edit ▸ Vietnamese Input or click the arrow next to AVIM’s toolbar button. You can also use Ctrl+: and Ctrl+; (⌘: and ⌘; on the Mac) to cycle back and forth between the input methods. The input methods use the following key mappings:

Input methods in AVIM
Mark Example Keys pressed
Telex VNI VIQR VIQR*
Tone marks
Acute (sắc) á as a1 a'
Grave (huyền) à af a2 a`
Hook (hỏi) ar a3 a?
Tilde (ngã) ã ax a4 a~
Dot below (nặng) aj a5 a.
Other diacritical marks
Circumflex () â aa a6 a^
ê ee e6 e^
ô oo o6 o^
Horn (móc) ơ ow o7 o+ o*
Breve (trăng) ă aw a8 a(
Stroke (gạch ngang đ dd d9 dd
Special shortcuts
Escape a dead key a. a\.²
Remove a diacritic z 0 -
Shift+Backspace or ⇧⌫
Insert syllable break Shift+Space or ⇧Space
  1. Automatically transformed into the đồng sign when preceded immediately by a number (e.g., “1.000₫”).
  2. To enter an actual backslash, use two backslashes (\\).
As an example, here are the opening lines of the Vietnamese epic poem Truyện Kiều:
Trăm năm trong cõi người ta,
Chữ tài chữ mệnh khéo là ghét nhau
Trải qua một cuộc bể dâu,
Những điều trông thấy mà đau đớn lòng.
Lạ gì bỉ sắc tư phong
Trời xanh quen thói má hồng đánh ghen.

And here are ways to type them in using the provided input methods (which can vary, since AVIM is so flexible with dead keys):

Telex
    Trawm nawm trong coxi nguwowfi ta,
    Chuux tafi chuwx meejnh kheso laf ghest nhau
    Trari qua moojt cuoojc beer daau,
    Nhuwxng ddieefu troong thaasy maaf ddau ddowsn lofng.
    Laj gif bir sawsc tuw phong
    Trowfi xanh quen thosi mas hoofng ddasnh ghen.
VNI
    Tra8m na8m trong co4i ngu7o72i ta,
    Chu74 ta2i chu72 me65nh khe1o la2 ghe1t nhau
    Tra3i qua mo65t cuo65c be63 da6u,
    Nhu74ng d9ie62u tro6ng tha61y ma2 d9au d9o71n lo2ng.
    La5 gi2 bi3 sa81c tu7 phong
    Tro71i xanh quen tho1i ma1 ho62ng d9a1nh ghen. 
VIQR
    Tra(m na(m trong co~i ngu+o+`i ta,
    Chu+~ ta`i chu+~ me^.nh khe'o la` ghe't nhau
    Tra?i qua mo^.t cuo^.c be^? da^u,
    Nhu+~ng ddie^`u tro^ng tha^'y ma` ddau ddo+'n lo`ng\.
    La. gi` bi? sa('c tu+ phong
    Tro+`i xanh quen tho'i ma' ho^`ng dda'nh ghen\. 
VIQR*
    Tra(m na(m trong co~i ngu*o*`i ta,
    Chu*~ ta`i chu*~ me^.nh khe'o la` ghe't nhau
    Tra?i qua mo^.t cuo^.c be^? da^u,
    Nhu*~ng ddie^`u tro^ng tha^'y ma` ddau ddo*'n lo`ng\.
    La. gi` bi? sa('c tu* phong
    Tro*`i xanh quen tho'i ma' ho^`ng dda'nh ghen\. 

Try out typing with AVIM at the test page.