Advertisement:

Author Topic: need help. Mongolian font where to put?  (Read 10457 times)

Offline fussyman

  • Semi-Newbie
  • *
  • Posts: 38
    • Mongolia tours, travel, etc.
need help. Mongolian font where to put?
« on: November 06, 2006, 09:28:52 PM »
I looked into the translation FAQ and files needed for translation. Simply because of time restraint, I won't be able to translate them all.

If I use smf just changing few admin and user admin words most users are likely to encounter and put Mongolian buttons, where should i install Mongolian fonts? Is there a folder? UTF or what type of font I should prepare? Any help is very much appreciated. Thank you.
Mongolia horse tours, cultural tours, & more
http://www.mongoliatraveltips.com
http://www.mongolianshop.com

Offline Dannii

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,212
  • Mind the volcano!
    • curiousdannii on GitHub
Re: need help. Mongolian font where to put?
« Reply #1 on: November 12, 2006, 11:49:15 PM »
You shouldn't need fonts. However, put the translated php language files in Themes/default/languages/, and the images in Themes/default/images/mongolian/
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Offline fussyman

  • Semi-Newbie
  • *
  • Posts: 38
    • Mongolia tours, travel, etc.
Re: need help. Mongolian font where to put?
« Reply #2 on: November 14, 2006, 02:26:24 AM »
I used Mongolian fonts already. No problem from the point of reading. So it looks like this:


But when I see into the source code of the webpage, it is like this just for the shown few lines of text excluding all other things:

div style="overflow: auto; width: 100%;">ыйө өыө ыбыөужшгэ шэхузшжгхэ жушүм өбсм хмужшэ&nbsp; <br />х:у_эаум оөбрбоөсыйө өыө ыбыөужшгэ шэхузшжгхэ <br />жушүм өбсм хмужшэ х:у_эаум оөбрбоөсыйө өыө ыбы<br />өужшгэ шэхузшжгхэ жушүм өбсм хмужшэ х:у_эаум оө<br />брбоөс<br />ыйө өыө ыбыөужшгэ шэхузшжгхэ жушүм өбсм хмужшэ&nbsp; <br />х:у_эаум оөбрбоөсыйө өыө ыбыөужшгэ шэхузшжгхэ <br />жушүм өбсм хмужшэ х:у_эаум оөбрбоөсыйө өыө ыбы<br />өужшгэ шэхузшжгхэ жушүм өбсм хмужшэ х:у_эаум оө<br />брбоөсыйө өыө ыбыөужшгэ шэхузшжгхэ жушүм өбсм хмужшэ&nbsp; <br />х:у_эаум оөбрбоөсыйө өыө ыбыөужшгэ шэхузшжгхэ <br />жушүм өбсм хмужшэ х:у_эаум оөбрбоөсыйө өыө ыбы<br />өужшгэ шэхузшжгхэ жушүм өбсм хмужшэ х:у_эаум оө<br />брбоөс</div>

I wonder how it can be fixed. Any suggestion will be appreciated much. Thanks.
Mongolia horse tours, cultural tours, & more
http://www.mongoliatraveltips.com
http://www.mongolianshop.com

Offline fussyman

  • Semi-Newbie
  • *
  • Posts: 38
    • Mongolia tours, travel, etc.
Re: need help. Mongolian font where to put?
« Reply #3 on: November 14, 2006, 02:37:01 AM »
Ho!  I am again here. Seeing the above is interesting. In the above post the strings of codes are converted back to normal fonts. I need to explain here again.

What I mean is in the source I see these digits taking one and a one fifth of A4 size paper full of codes for the above shown few lines of Mongolian font text:



http://mogultravel.com/forum/index.php?topic=3.0

I wonder how it can be cured?
« Last Edit: November 14, 2006, 02:40:53 AM by fussyman »
Mongolia horse tours, cultural tours, & more
http://www.mongoliatraveltips.com
http://www.mongolianshop.com

Offline Dannii

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,212
  • Mind the volcano!
    • curiousdannii on GitHub
Re: need help. Mongolian font where to put?
« Reply #4 on: November 14, 2006, 07:09:12 AM »
They're called entities and they're perfectly fine. They allow you to have the characters of other scripts even though they are not normally supported in an ASCII text file.
In 1.1 RC3 you could convert your forum to UTF-8, so that the characters would be supported fully and entities wouldn't be required. You don't have to do that though.

Btw, I've never seen the Mongolian script before, it's pretty :)
« Last Edit: November 15, 2006, 10:26:22 PM by eldʌkaː »
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Offline fussyman

  • Semi-Newbie
  • *
  • Posts: 38
    • Mongolia tours, travel, etc.
Re: need help. Mongolian font where to put?
« Reply #5 on: November 26, 2006, 04:43:25 PM »
 I upgraded my site to RC3 to convert my forum to UTF-8. I don't see any difference. Maybe I'm foolish or inexperienced to see the difference. Again the fonts are long strings when I look into the source code.

Yet when I visit the Russian section of SMF here in this forum, I see Russian fonts (Mongolian fonts are the same as theirs except 2 more fonts) being seen in the source code. My site and Russian section in this site the same fonts but different results in the behind the scene.

These 2 images show source codes: Mongolian fonts of my site in he second image are shown by red strings of codes while in the other image russian fonts are shown as normal letters in the 1st image. That russian page is : http://www.simplemachines.org/community/index.php?topic=127468.0

This way because each Mongolian font becomes 4-5 digit/letter string I suspect it might take more space on database or server space. Most pathetically the subject titles of posts become very short like inthis example:

http://mogultravel.com/forum/index.php?topic=3.0

That topic headline or title is not descriptive at all. That's my big problem I asked about elsewhere in this forum but have not yet got any answer. IF visitors don't see descriptive post titles, they will simply overlook valuable info in my forum and my whole forum may not serve its purpose.
« Last Edit: November 26, 2006, 05:00:44 PM by fussyman »
Mongolia horse tours, cultural tours, & more
http://www.mongoliatraveltips.com
http://www.mongolianshop.com

Offline Compuart

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,774
  • Gender: Male
  • Zéeeeal
    • RealityNet
Re: need help. Mongolian font where to put?
« Reply #6 on: November 28, 2006, 10:41:47 PM »
Just for clarity sake, a font is a set of graphic characters that have a characteristic design. What you are talking about is the character set.

Your site currently uses ISO-8859-1 as character set. This character set is used to represent latin characters. All non-latin characters are converted to HTML entities (like &#1099;). If you want your forum to store characters without using entities, you'd (like Eldakar said) need to convert your forum to UTF-8 (see UTF-8 readme). After that conversion there's a function that'll allow to also convert the already existing HTML entities.
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

Offline fussyman

  • Semi-Newbie
  • *
  • Posts: 38
    • Mongolia tours, travel, etc.
Re: need help. Mongolian font where to put?
« Reply #7 on: December 01, 2006, 01:19:47 AM »
Thanks Compuart,

You have solved my problem. I was testing both phpbb2 and smf. When I worked as you suggested that -I think - changed all databases on the server account to utf-8. Even the faulty phpbb2 test forum was healed of its font problem. They are on the same server but under different domain names.

My hats off to you! 
Mongolia horse tours, cultural tours, & more
http://www.mongoliatraveltips.com
http://www.mongolianshop.com

Offline fussyman

  • Semi-Newbie
  • *
  • Posts: 38
    • Mongolia tours, travel, etc.
Re: need help. Mongolian font where to put?
« Reply #8 on: December 23, 2006, 04:30:24 AM »
Then I started getting problem when i login and out. New users can not be registered. Just blank page comes up. Because of this several times I deleted my site and created it again using the database.

Maybe I incompletely performed UTF-8 conversion, according to http://docs.simplemachines.org/index.php?topic=865

Now my forum is  SMF 1.1. And I downloaded smf_1-1-rc3_english-utf8.zip to my pc.

How should I upload it to my website on the live server? and which folder? Sorry for my newbie questions. In the package manager download section, I see too many mods but not the english utf8 files.

Is this rc3_english-utf8.zip compatible with smf 1.1 and the latest smf 1.1.1? Because I may soon upgrade to smf 1.1.1.

The instruction says:
"Once all the UTF-8 language packs have been installed, convert the language settings of each user by running the following query:
Code:
UPDATE smf_members
SET lngfile = CONCAT(lngfile, '-utf8')
WHERE lngfile != ''

How do I run the query? Should I open phpmyadmin or somewhere in the admin of the forum? The test site is here: http://www.tuurgatnytuv.com

Thanks for any feedback.
« Last Edit: December 23, 2006, 04:32:21 AM by fussyman »
Mongolia horse tours, cultural tours, & more
http://www.mongoliatraveltips.com
http://www.mongolianshop.com

Offline fussyman

  • Semi-Newbie
  • *
  • Posts: 38
    • Mongolia tours, travel, etc.
Re: need help. Mongolian font where to put?
« Reply #9 on: December 26, 2006, 10:18:20 AM »
i did all required that is written above except the query thing: uploaded all english utf8 files and in admin->server settings the english utf8 option came up. chose it. but still IE 6 has problem with showing our fonts.

luckily IE7 shows no problem. but unfortunately most people have IE 6 or lower.
Mongolia horse tours, cultural tours, & more
http://www.mongoliatraveltips.com
http://www.mongolianshop.com

Offline odbayarb2000

  • Semi-Newbie
  • *
  • Posts: 15
  • Gender: Male
    • Student Community
Re: need help. Mongolian font where to put?
« Reply #10 on: February 18, 2007, 02:36:29 AM »
Hi Fussyman.
We are in same boat lol.
I also started to translate SMF into Mongolian.
 
http://www.oitamongols.com/ [nofollow]
Accessibility: All Browsers(I believe)
Language: Mongolian
Content: Student Community