Difference between revisions of "Style/Language/Vietnamese"

From MusicBrainz Wiki
Jump to navigationJump to search
((Imported from MoinMoin))
((Imported from MoinMoin))
Line 62: Line 62:
 
* D: ''Em đi máy bay !''
 
* D: ''Em đi máy bay !''
 
* E: Here you can see the other books for the same class (math, nature, etc.). I have number 1. and 2. This is number 1. You also can see some info like printed in 150000 copies in 1999, etc.
 
* E: Here you can see the other books for the same class (math, nature, etc.). I have number 1. and 2. This is number 1. You also can see some info like printed in 150000 copies in 1999, etc.
  +
<ul><li style="list-style-type:none">Yes, there is a half-space here. This shows that this style is not completely foreign in Vietnamese. --foolip
  +
</ul>
   
 
===Tranlated manga===
 
===Tranlated manga===
Line 70: Line 72:
   
 
Here you can see the use of ''narrow no-break space''.
 
Here you can see the use of ''narrow no-break space''.
  +
<ul><li style="list-style-type:none">Sorry, but to me this looks like no space at all, I take this as support for the "no space" style. "Looks" like Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF) ;-) --foolip
  +
</ul>
   
 
===Translated literature book===
 
===Translated literature book===

Revision as of 00:15, 10 February 2009

Attention.png Status: this is a controversial proposal born out of http://musicbrainz.org/show/edit/?editid=9920518, do not use it until the discussion has settled!

This page outlines the capitalization rules for the Vietnamese language. It forms part of the MusicBrainz CapitalizationStandard.

Bằng tiếng Việt

Xin bạn viết bài này bằng tiếng Việt.

In English

These rules apply to album and track titles:

  • Do not capitalize any word except for:
    • the first letter of the text
    • the first letter of a sentence after . ! ? / :
    • the first letter of proper and geographical names (persons, cities, nations, etc.)

Punctuation (no space)

Like English, Vietnamese does not use any space before punctuation, including but not limited to ? ! ; : . , ...

Punctuation (with space)

In Vietnamese there is a no-break space (" " U+00A0) — preferably narrow no-break space ("" U+202F) — before the following punctuation:

  • The exclamation mark ("!" U+0021)
  • The colon (":" U+003A)
  • The semicolon (";" U+003B)
  • The question mark ("?" U+003F)

In Musicbrainz, as there are few chances to have word-warp problems with song and album titles, the narrow no-break space as well as the no-break space could seem overkill. Thus the use of the standard space character.

There is, however, no space before:

  • The comma ("," U+002C)
  • The dot ("." U+002E)
  • The ellipsis ("" U+2026 or 3×dot "..." 3×U+002E)

Examples (no space)

  • Em còn nhớ hay em đã quên?
  • Nhớ về Hà Nội
  • Hà Nội café ơi!
  • Liên khúc: Đêm cuối / Giận hờn

Examples (with space)

  • Em còn nhớ hay em đã quên ?
  • Nhớ về Hà Nội
  • Hà Nội café ơi !
  • Liên khúc : Đêm cuối / Giận hờn

Reference (with space)

Vietnamese language teaching book for 7 year old pupils

Bộ giáo dục và đào tạo — Lớp một (1), Tiếng Việt, Tập một : Chữ cái và vần

Ministry of education and training — First class (1), Vietnamese language, first volume : Letters and syllabs

[[[Image:img0780qp9.jpg]] [1](A http://img261.imageshack.us/img261/1830/img0780qp9.th.jpg](A]) [[[Image:img0782yw7.jpg]] [2](B http://img444.imageshack.us/img444/6795/img0782yw7.th.jpg](B]) [[[Image:img0783gx1.jpg]] [3](C http://img509.imageshack.us/img509/9884/img0783gx1.th.jpg](C]) [[[Image:img0784nc9.jpg]] [4](D http://img149.imageshack.us/img149/9907/img0784nc9.th.jpg](D]) [[[Image:img0785ol4.jpg]] [5](E http://img264.imageshack.us/img264/5439/img0785ol4.th.jpg](E])

  • A: This is the cover. Bộ giáo dục và đào tạo stands for Ministry of education and training
  • B: Nhớ lời Bác dạy : Chăm học, chăm làm ; Bố mẹ đều khen ; Thầy cô vui vẻ. (Remember uncle Hồ Chí Minh's words: Serious in studies and work ; Parents will praise ; Teachers will rejoice. (^_^)
  • C: Bay đi đâu cả tối ngày sếu ơi ?
  • D: Em đi máy bay !
  • E: Here you can see the other books for the same class (math, nature, etc.). I have number 1. and 2. This is number 1. You also can see some info like printed in 150000 copies in 1999, etc.
  • Yes, there is a half-space here. This shows that this style is not completely foreign in Vietnamese. --foolip

Tranlated manga

Đôrêmon (ドラえもん)

[[[Image:img0786wd7.jpg]] img0786wd7th]

Here you can see the use of narrow no-break space.

  • Sorry, but to me this looks like no space at all, I take this as support for the "no space" style. "Looks" like Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF) ;-) --foolip

Translated literature book

Trang Tử (莊子) : Nam Hoa kinh (南華經)

[[[Image:img0793qw5.jpg]] [6](A http://img144.imageshack.us/img144/4679/img0793qw5.th.jpg](A]) [[[Image:img0794fe9.jpg]] [7](B http://img165.imageshack.us/img165/3053/img0794fe9.th.jpg](B]) [[[Image:img0798ih2.jpg]] [8](C http://img201.imageshack.us/img201/6903/img0798ih2.th.jpg](C])

  • A: Cover. Vietnamese adaptation / translation by Nguyễn Hiến Lê. Nhà xuất bản Văn hóa stands for ~ published by (Vh) Văn hóa (=culture).
  • B: Here you can see the use of no-break space before exclamation mark, semicolon and question mark
  • C: Here you can see the use of no-break space before exclamation mark, colon, semicolon and question mark

Reference (no space)

Writing Rules

Quoting Một số quy tắc soạn thảo văn bản cơ bản:

  • Các dấu ngắt câu như chấm (.), phẩy (,), hai chấm (:), chấm phảy (;), chấm than Idea.png, hỏi chấm (?) phải được gõ sát vào từ đứng trước nó, tiếp theo là một dấu trắng nếu sau đó vẫn còn nội dung.

In brief, this says that punctuation .,:;!? should be written togther with the preceding word (i.e. no space).

Searching for the above text reveals that it is replicated on many educational websites and the like.

Vietnamese Online

In the top million site rankings (fetched 2009-02-09) there are 208 websites under the .vn domain, which should be a good sample of how Vietnamese is typically written in digital form. Using a python script I downloaded the front page from all of those 208 sites, extracted the text (not including HTML markup, scripts or style sheets) and counted the occurences where exclamation and question mark was preceded by whitespace or not. I have gone over the results to see that the matches are for actual text so the results are not skewed by misencoding errors, etc. Sites which were either unavailable or did not contain any such punctuation are not included.

Site "!?" " !?"
vietnamnet.vn 4 0
ebay.vn 2 0
vietbao.vn 6 1
zing.vn 12 0
tienphong.vn 5 0
thanhnien.com.vn 4 0
clip.vn 9 3
tamtay.vn 3 2
vovnews.vn 2 1
chodientu.vn 6 0
24h.com.vn 8 0
hoahoctro.vn 36 1
vtv.vn 7 0
dantri.com.vn 5 0
nld.com.vn 0 1
eva.vn 4 0
phenom.vn 1 0
laodong.com.vn 15 4
vnmedia.vn 5 0
sgtt.com.vn 2 0
congan.com.vn 7 0
123mua.com.vn 1 0
cand.com.vn 16 1
teen.vn 1 31
nhandan.com.vn 3 0
hanoimoi.com.vn 2 1
vietad.vn 1 0
phapluattp.vn 10 0
htv.com.vn 1 0
thuocbietduoc.com.vn 3 0
thegioidienanh.vn 12 0
baokhanhhoa.com.vn 1 0
giadinh.net.vn 5 0
xalo.vn 2 0
nhandan.org.vn 3 0
i4vn.com.vn 3 0
tinmoi.vn 15 0
photo.vn 6 0
damdang.vn 8 0
phunuvietnam.com.vn 5 3
sucsongmoi.com.vn 2 1
fpt.vn 1 0
bongda.com.vn 7 0
cimsi.org.vn 8 0
vietnamworks.com.vn 4 0
yp.com.vn 2 0
baobinhduong.org.vn 6 2
tiasang.com.vn 8 1
tinthethao.com.vn 4 0
muctim.com.vn 4 2
9xvn.vn 13 3
thethaovanhoa.vn 8 0
vneconomy.vn 13 0
qdnd.vn 1 0
hnv.vn 2 1
come.vn 1 1
cpv.org.vn 2 0
ola.vn 1 0
baodongnai.com.vn 10 0
vietimes.com.vn 16 1
baovietnam.vn 1 0
amthuc365.vn 2 0
immigration.vn 1 0
cinet.gov.vn 1 0
vnav.vn 1 0
5giay.vn 2 1
hvtc.edu.vn 2 0
dienmaycholon.vn 1 1
marijuana.vn 5 0
vitinfo.com.vn 16 0
baobariavungtau.com.vn 2 4
nhacvietplus.com.vn 6 0
baocantho.com.vn 7 0
thugian.com.vn 13 0
dalat.gov.vn 1 0
blog.com.vn 11 4
thvl.vn 8 0
vnmusic.com.vn 0 2
sao.vn 2 1
violet.vn 3 0
vdc.com.vn 3 0
acb.com.vn 1 2
saga.vn 21 1
noi.vn 3 0
bacbaphi.com.vn 9 0
giaothongvantai.com.vn 6 0
quehuong.org.vn 3 0
dost-dongnai.gov.vn 6 0
vff.org.vn 3 0
giadienthoai.vn 3 0
thegioihoanmy.vn 4 0
monre.gov.vn 3 0
muaban.vn 2 4
vncold.vn 2 0
giaitriviet.vn 1 0
handmadevn.vn 0 1
tayninh.edu.vn 1 0
vyp.vn 2 0
apricothotel.com.vn 2 0
khcn-daknong.gov.vn 1 1
hanhphucgiadinh.vn 12 0
tienphongonline.com.vn 5 0
joneslanglasalle.com.vn 1 0
sgtt.vn 2 0
hoinongdan.org.vn 6 0
thodia.vn 7 0
daklakdpi.gov.vn 5 0
tapchibcvt.gov.vn 1 0
trizviet.com.vn 6 1
vietbalo.vn 1 2
thegioitieudung.com.vn 7 0
playpark.vn 3 5
hanoitours.com.vn 1 1
bidv.com.vn 2 0
amthucvietnam.vn 0 1
tnh.com.vn 2 3
nhadat.vn 2 0
Total 578 96

Discussion

Hi Foolip, I took the liberty of changing your draft to conform with my official children school book that comes from the ministry of education and training of Việt Nam.

Actually I browsed 4 random books of my library to find out that there were inconsistencies between publishers. Even if that may not be statistically correct, out of 4 random books, I got 3 books to support the space-before-punctuation style versus 1 book supporting no-space-before-punctuation. The 3 books include a (actually because it is vol.1 + vol.2 but hey) very official book because it is the vietnamese teaching book for first class of first school (7 years old, lớp một của trường tiểu học / cấp một).

In Reference, you can find those quick pictures I took yesterday evening.

--jesus2099

  • I think you were a bit too liberal in your changes, putting both versions in for comparison. --foolip