Vietnamese character

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

Vietnamese character

#1 Post by phantrongnghia »

Why Hacao made it display Vietnamese very well?
I was try but it display many code character :cry:

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

I think I had the code-characters too, when I tested vi.lng yesterday.

I thought, it was because I have no vietnamese font, or because I had no vi_VN locale.
So today I started my testsystem again, to check that.

But suddenly, the menu looks correct!

I don't know why :?:
I have no idea, how to help you at moment :oops:
Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

You have Puppy 108, right?
You need a newer JWM, the one from Puppy 109.
Download:
http://grafpup.com/puppydev/jwm-1.7.tar.gz

Then start PupGet.
Click on "install alien Package"
Then select the downloaded jwm-1.7.tar.gz

That should fix it.
I tried it myself in a new Puppy 108 with vi.lng, and it works.
Does it work for you, too?
Mark

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#4 Post by phantrongnghia »

I am using Vietnamese puppy of Hacao
He said the version of it is 1.06
I will try
Thanks
:)

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#5 Post by phantrongnghia »

I had file jwm-1.7.tar.gz
The size of it is 12kb!
It was error
when I install it using pupget,it appear:
There was an error expanding package jwm-1.7.
Either the file is corrupted, or has not expanded into its own directory with
name of jwm-1.7/ (which is how most packages expand).
You will have to go into /root/.packages/ directory and manually clean it up.
This script will now exit...
I try to download version 1.6(72kb)
It display better than defaults version
But some character as:"a,ư,ơ,

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

Oh, I used Jwm1.6 too.
1.7 is broken, I will inform Nathan Fisher.
I will tell you, when it is available.
Hacao used Puppy2Alpha, that uses Jwm 1.7, too.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

here, try the file attached.
Extract with xarchive to
/usr/X11R6/bin/

I took it from my Puppy2.
But just tried it, and the character still is not visible :?:
Why does it work for Hacao?
I will try to run Puppy2 again now.
Mark
Attachments
jwm17.tar.gz
(60.21 KiB) Downloaded 724 times

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

no, in Puppy2 it does not work either.
But here I could not choose vi_VN in chooselocale.
If I choose vi_VN in Puppy108, my /etc/profile is deleted, and so X will not start any more :shock:
But maybe I installed to much things before...
I added it manually now to /etc/profile, after I repaired it.

I also had problems with german

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#9 Post by phantrongnghia »

I upgraded the new version 1.7,but the problem persist :?

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#10 Post by phantrongnghia »

I extracted jvm 1.7.tar.gz
When I reboot my computer ,and start puppy the start button it was lose(jvm 1.6 so)!
I copied arial font to /.font
But It was display correct
What version of puppy you are using?
Can you give me it?
I think when I uses puppy of you,it work

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#11 Post by phantrongnghia »

I extracted jvm 1.7.tar.gz
When I reboot my computer ,and start puppy the start button it was lose(jvm 1.6 so)!
I copied arial font to /.font
But It was display correct
What version of puppy you are using?
Can you give me it?
I think when I uses puppy of you,it work best

User avatar
Hacao
Posts: 226
Joined: Thu 11 Aug 2005, 03:27
Location: Saigon, Vietnam
Contact:

#12 Post by Hacao »

Hi !

Replace "San-12" by "Arial-12" in ".jwmrc"

Work ! :)

That's all.

Thanks,
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=44675]Hacao Linux 2009 CE released ![/url]

[url=http://hacao.com]Hacao.com[/url] English & Vietnamese !

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#13 Post by phantrongnghia »

I not found San-12 in .jvmrc!

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post by MU »

/root/.jwmrc

For example:

Code: Select all

	<TaskListStyle>
		<Font>Sans-12:regular</Font>
		<ActiveForeground>white</ActiveForeground>
		<ActiveBackground>#8899A6</ActiveBackground>
	</TaskListStyle>
So just must replace
<Font>Sans-12:regular</Font>
with
<Font>Arial-12:regular</Font>

There are more such entries.

Mark

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#15 Post by phantrongnghia »

I found it!
Thanks

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#16 Post by phantrongnghia »

WOW!IT display corrected!
Thanks to MU,hacao very much
next,i will install vietnamese typing

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#17 Post by phantrongnghia »

one problem occured after I install x-unikey(Vietnamese typing for x windows):
Abiword not worked!I copied the locale from vietnamese puppy
But it not work
and all appication so!

Can you help me,MU,hacao?
Can you try on your system?
If you installed x-unikey,you choose input method is utf-8
and run abiword
If abiword ran.choose the font arial and type:
Tieengs Vieetj
if abiword display
Tiếng Việt
tell me!
thanks

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#18 Post by phantrongnghia »

I installed x-unikey(vietnamese typing for x windows)
I copied the locale from vietnamese puppy(hacao linux 1.06)
unikey run
But can not typing vietnamese
In some website intergrated vietnamese typing ,when i try(unikey not run)i can typing vietnamese!
Can you creat the locale support vietnamese in other distro and send it to me?
In unikey documentation,author of unikey wrote:
you can make the locale using command:

Code: Select all

localedef -v -ci en_US -f  UTF-8 /usr/share/locale/en_US.UTF-8
thanks

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#19 Post by sccat »

How to get the font name?

Such as "Sans-12:regula"r & "Arial-12:regular".

Thanks.

User avatar
phantrongnghia
Posts: 205
Joined: Mon 24 Apr 2006, 14:11
Location: Hanoi,Vietnam
Contact:

#20 Post by phantrongnghia »

sccat wrote:How to get the font name?

Such as "Sans-12:regula"r & "Arial-12:regular".

Thanks.
first, you must created the folder ".fonts"(included ".") (in root folder) and copy the fonts file you need in windows (or download by search in google) to this folder
To get the font file name, start Abiword and choose the fonts in list
You will find the fonts name newly copied

Post Reply