Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,420 Members 37,838 Now Online
XDA Developers Android and Mobile Development Forum

*Guide* - view other languages on the G1

Tip us?
 
superxnova
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 13
Join Date: Feb 2009
Default *Guide* - view other languages on the G1

first of all i would like to thank this forum and it's members, you have been a great source of G1 info for me, and i want to give something back .

this is a guide for installing fonts which will enable you to get rid of the annoying while boxes when you try reading something in a foreign language such as:
web pages
contacts
pretty much everything else

note that it does not alter your current English font, so no worries about font size not fitting buttons, etc.
this, of course, requires root access.

I haven't been able to find a comprehensive and full guide, so i made one:

1) download the DeJaVu fonts from here, they are freely licensed (so no worry about copyrights).
2) copy 'DejaVuSans.ttf' to your sdcard and rename it exactly 'DroidSansFallback.ttf'
3) start terminal emulator and type exactly (watch the Case) the following commands, followed by enter:
Code:
su (then wait for the superuser screen and press yes)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSansFallback.ttf
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
reboot
your phone will now reboot, and vualla! you have your native language displayed! no more white boxes! Ha Ha Ha!!

note: if the dejavu fonts don't support your language, just find a font that does, and follow exactly the same procedure.

hope this helps someone, because I sure needed it...
cheers!

note: you might want to make this a sticky
 
h4ng0ver
Old
#2  
Member
Thanks Meter 12
Posts: 50
Join Date: Jan 2009
Hi there
Thank you so much for the guide
Will this font work for Vietnamese?
Thanks
 
ahmad.yousry
Old
#3  
ahmad.yousry's Avatar
Senior Member
Thanks Meter 0
Posts: 133
Join Date: Dec 2007
Location: Cairo
this will not support Arabic .. right ?
 
h4ng0ver
Old
#4  
Member
Thanks Meter 12
Posts: 50
Join Date: Jan 2009
Quote:
Originally Posted by superxnova View Post
first of all i would like to thank this forum and it's members, you have been a great source of G1 info for me, and i want to give something back .

this is a guide for installing fonts which will enable you to get rid of the annoying while boxes when you try reading something in a foreign language such as:
web pages
contacts
pretty much everything else

note that it does not alter your current English font, so no worries about font size not fitting buttons, etc.
this, of course, requires root access.

I haven't been able to find a comprehensive and full guide, so i made one:

1) download the DeJaVu fonts from here, they are freely licensed (so no worry about copyrights).
2) copy 'DejaVuSans.ttf' to your sdcard and rename it exactly 'DroidSansFallback.ttf'
3) start terminal emulator and type exactly (watch the Case) the following commands, followed by enter:
Code:
su (then wait for the superuser screen and press yes)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSansFallback.ttf
dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
reboot
your phone will now reboot, and vualla! you have your native language displayed! no more white boxes! Ha Ha Ha!!

note: if the dejavu fonts don't support your language, just find a font that does, and follow exactly the same procedure.

hope this helps someone, because I sure needed it...
cheers!

note: you might want to make this a sticky
It works great for me(Vietnamese fonts).
Thanks a bunch
 
funbacon
Old
(Last edited by funbacon; 10th February 2009 at 03:40 AM.)
#5  
funbacon's Avatar
Senior Member
Thanks Meter 1
Posts: 373
Join Date: Nov 2008
Location: Hanoi
Quote:
Originally Posted by h4ng0ver View Post
It works great for me(Vietnamese fonts).
Thanks a bunch
These fonts 're different from Android fonts. Droidsans font family is a font pack which're specialy for Android phone.
 
aacshar
Old
#6  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Dec 2008
Default wont open dd cant file

i paste the DroidSansFallback.ttf on sd root, and have problem on the last sentence

dd if=/sdcard/DroidSansFallback.ttf of=/system/fonts/DroidSansFallback.ttf
its says the file cant find

any help thanks

root access on G1 jesus frekes Dev1 Rc33
 
superxnova
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 13
Join Date: Feb 2009
Quote:
this will not support Arabic .. right ?
yes it will, enjoy

aacshar, try redoing it all over again, you probably mistyped some letter...
i have tried this several times and works like a charm, i am running jf1.41 RC33 also
 
yochaigal
Old
#8  
Senior Member
Thanks Meter 2
Posts: 105
Join Date: Nov 2008
Location: Boston
Why can't JF put this in his releases, as a default font? I know that future android releases support locales, etc.... but why can't JF replace his release with this one so we don't have to redo this every time?

Thanks
 
Pikkuhannu
Old
(Last edited by Pikkuhannu; 12th February 2009 at 06:57 PM.)
#9  
Pikkuhannu's Avatar
Senior Member
Thanks Meter 3
Posts: 144
Join Date: Jul 2008
Something went wrong, now "su" wont work, only flash black, then denied or something???
What now???
Trying to flash again, don`t want to wipe...

E: Reflash and works again...
But no help my fonts
 
ghassan99
Old
#10  
Member
Thanks Meter 1
Posts: 75
Join Date: Aug 2006
Quote:
Originally Posted by ahmad.yousry View Post
this will not support Arabic .. right ?
This will work for Arabic but the letters will be disconnected. I wrote about that solution in my blog a month ago:
http://dumpytips.blogspot.com/2009/0...-solution.html
Read the comments if you are interested, we had an interesting discussion in there.

-Gus

Tags
hebrew, language, multilanguage, white boxes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Integrate Social Networks Into Your Project With ASNE Library

Social network applications and services have developed into major parts ofour … more

Give Your Android Wear Device a Lock Screen with Lockable

Without a doubt,Android Wear is one of the most frequently talked abouttopics of … more

Forums Added for the LG G Watch R and Samsung Gear S

A little over a week ago, LG “inadvertently” let the world know about the … more

Secrecy App Goes Open Source, New LG Android Wear Device! – XDA Developer TV

Secrecy encryption app goes open source! That and much … more