Advertisement:

Author Topic: It is posible to do?  (Read 13584 times)

Offline Cigaras

  • Semi-Newbie
  • *
  • Posts: 17
It is posible to do?
« on: October 12, 2010, 12:31:01 PM »
I know that lithuanian language is in develope, but i just need that my smf show lithuanian letters like ąčęėįšųū in topics/posts/forums/category is this is posible?

Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: It is posible to do?
« Reply #1 on: October 12, 2010, 01:53:44 PM »
Yes it is possible, two ways available.

1. Windows or ISO codepage.
Find in /Themes/default/Languages/index.english.php
Code: [Select]
$txt['lang_character_set'] = 'ISO-8859-1';Replace there ISO-8859-1 with windows-1257 or ISO-8859-4. SMF will work then as your PC.
When the Lithuanian language will be available, you will use the smf_version_lithuanian language file. Check which codepage is selected.

2. You can convert to UTF-8. Do a file and database backup before proceeding.
With SMF 1.1x Admin -> Forum maintenance -> Convert the database and data to UTF-8
With SMF 2.0x Admin -> Maintenance: Forum maintenance : Database -> Convert the database and data to UTF-8
As noted with UTF-8
Quote
It also can enhance search and sorting capabilities for languages with non-latin characters.
When the Lithuanian language will be available, you will use the smf_version_lithuanian-utf8 language file.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline Cigaras

  • Semi-Newbie
  • *
  • Posts: 17
Re: It is posible to do?
« Reply #2 on: October 12, 2010, 03:00:03 PM »
Second way don`t worked.... Letters are showing in ?????????? i will try 1 option

Not work either changed to windows-1257 all the the same.... Maybe i do something wrong?
« Last Edit: October 12, 2010, 03:35:56 PM by Cigaras »

Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: It is posible to do?
« Reply #3 on: October 12, 2010, 11:32:01 PM »
Did you install SMF with Fantastico from your server? In this case you may have a pseudo-UTF8 installation. However, Convert the database and data to UTF-8 wouldn't be available in this case.

I give here a link for a topic in Greek support section about SMF installations with Fantastico, with Google translation. Translation is not perfect but it's usable.

« Last Edit: October 12, 2010, 11:39:06 PM by agridoc »
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: It is posible to do?
« Reply #4 on: October 12, 2010, 11:45:37 PM »
I saw in older messages that you recently converted to SMF 1.11 from phpBB 3.1. Lithuanian language chars displayed correctly after conversion?
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline Cigaras

  • Semi-Newbie
  • *
  • Posts: 17
Re: It is posible to do?
« Reply #5 on: October 13, 2010, 11:50:29 AM »
I saw in older messages that you recently converted to SMF 1.11 from phpBB 3.1. Lithuanian language chars displayed correctly after conversion?

No after convert no lithuanian letters was displayed...

Offline agridoc

  • SMF Hero
  • ******
  • Posts: 3,274
  • Gender: Male
    • Aeromodelling GR - Aeromodelling in Greece
Re: It is posible to do?
« Reply #6 on: October 13, 2010, 12:52:02 PM »
For older messages converted from phpBB, it's quite possible that something went wrong with conversion. One must follow strictly the steps, it's a procedure that can easily go wrong. I have no personal experience with conversion from phpBB but this has been reported quite a few times.

You should also know well, before converting, with what codepage phpBB forum worked.

With new messages an ISO SMF with windows-1257 or a proper UTF-8 SMF should accept and display wel Lithuanian and other languages.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Offline Cigaras

  • Semi-Newbie
  • *
  • Posts: 17
Re: It is posible to do?
« Reply #7 on: October 13, 2010, 03:03:30 PM »
I converted only for database. That database i used for new clean instaled smf 1.1.11

And i don`t know what fantastico is. I am new at smf...

Offline Kenniee

  • Newbie
  • *
  • Posts: 4
Re: It is posible to do?
« Reply #8 on: March 01, 2011, 02:42:05 AM »
Okay if it is possible. It's fine,
 But one who does not know about the Italian.. How would he understand what is written? ???