• Welcome to Simple Machines Community Forum. Please login or sign up.
September 17, 2021, 07:08:21 PM

News:

SMF 2.0.18 has been released! Please update. Read more.


how can i install english + arabic together

Started by aa26i, October 31, 2006, 05:50:31 PM

Previous topic - Next topic

aa26i

hi guys,

i just started using simple machines and i find him very useful and good. but i have one problem. like vbulletin there is language choice between the languages you install in the forum. but in this simple machines how can i add Arabic and English together so register member or any visitor can change the language from the main page of the site
i hope i clear my point.

thanks


se7o.com

بص

انا مش هفتي

بس هقلك الى اعرفه

انت ترفع ملفات اللغه بتاعت العربي طبعا


واعتقد بقي
هتسمح للمستخدم انه يختار اللغه المفضله بتاعتو من لوحة التحكم عندك

Croco

you mean as it is in this forum you can't now
but every user can change his language form the profile if you let him from you control panel
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

aa26i

hi,

please can u tell my how i can do that. i mean to upload through FTP is ok ..
but steps after that..?
i shall be extremely thankful to u

bye

Croco

you should upload the Arabic files into this path :

smfFolder/themes/default/languages/

then go to your control panel by pressing admin link

after that server settings then change the default language to Arabic

if you don't want to make Arabic default you could leave it

if the users want to change the language from their profile then Account Settings then change their language
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

aa26i

Thanx for replyin n helping. but i have one more question. i totally understand what u said about the procedure but the question is that i downloaded the arabic language files which comes with the folder themes.inside this folder there are folders classic and default. and there r more folders inside these folders such as classic contains images/arabic and languages. default contains help , iamges/arabic and languages.

Now which files or folder do i have to upload in themes/default/languages.....

Should i change the name of folder or copy them in the same folder with all files already exists.
because there are button images files to in arabic language pack. little confuesd about that.

Hope u explain as easy as u did before.
thanking u in advance

Croco

OK by language files i meant only the text files that are in default/language folder


but now upload the whole themes folder into smfFolder and all files will be in the right place
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search


ranKoto

السلام عليك

Hi all,

Can anyone help  me how to make SMF with support more than 1 languange like this, i mean i could write in 2 or 3 languange in one post, like this

ive already install an arabic language pack on my forum, but still i cant write in 2 language in 1 post like in this post

im using SMF 1.1.4

any help would be much appreciate coz ill be need it as ramadhan will come in a couple weeks

Croco

I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

dj_ahmad

you can do this with joomfish component in joomla and mambo but in smf???!!!!

ranKoto


ranKoto

August 23, 2008, 01:22:35 AM #12 Last Edit: August 23, 2008, 01:31:33 AM by ranKoto
Hi Croco

i've tried the english UTF-8 package, but the arabic character still didnt show up, any suggestion ?

thanks

Croco

You need to convert the data first form maintenance section Admin page
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

ranKoto

hi again Croco

ive already convert the data, but the character didnt at all, instead im having a smilies, im using fantastico when installaing smf, the post here said that fantastico will ruin data convert, is it right ?

Croco

It is not related

OK
so what you did is install a new forum from fantastico, right ?
there should be an option in the Admin -> maintenance -> convert to UTF8

if that didn't help you have to change all the tables in you database that SMF uses to use the UTF8 encoding
(but this will work only when the forum is new and there is no old non-english data)
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

ranKoto

im not installin a new forum Croco, what im about to do is trying to convert my existing forum, a community based forum which has quite large DB

is there any way to do that Croco ?

thanks again

Croco

August 26, 2008, 12:43:09 PM #17 Last Edit: December 15, 2008, 09:40:49 AM by Croco

did you try this option ?
Admin -> maintenance -> convert to UTF8

and after that upload the new utf8 language pack

I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

ranKoto

Hi Croco for my late reply

i've tried that one, unfortunately it didnt work at all, is that any relation with the size of my DB ?

jannah

September 08, 2008, 01:12:40 PM #19 Last Edit: September 08, 2008, 01:15:02 PM by jannah
I've been trying to do this for ages as well and can't figure it out!!!!!

I changed my default language to "English-UTF8"

Then in maintenance I "Converted all html language entities to UTF8"

I have Arabic language installed.

I can switch languages but then everything is in Arabic. I want everything in English, but just the ability to cut and paste some Arabic inside like this:

انا مش هفتي

It just comes out as question marks on my board.... so how did they set this board up because it seems to work here??

islam2hamy


Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





ranKoto

September 10, 2008, 06:11:10 AM #21 Last Edit: September 10, 2008, 06:21:47 AM by ranKoto
hi jannah

im having the same problem in a couple weeks ago, but its fixed now  :)

this is what i did

go to your cpanel>phpmyadmin

convert the database collation into utf8_general_ci
then convert the collation in every single table in the database into utf8_general_ci
then go to your admin page > maintenance : Converted all html language entities to UTF8

dont forget to put your site in maintenance mode while converting the DB

good luck then   ;)

NB : i didnt even use the arabic-utf8 files or English-UTF8

using arabic-utf8 files didnt solve the problem, its just change the default languange into arabic

jannah

Finally got some time today to do this!! Yayy your directions worked. Thank you so much ranKoto!!!! It took about 10 minutes to go through every table and change it but it's well worth it!!! thanks so much again. :) :) :)


Croco

Can you check if your database tables are UTF8 encoding ?


I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

Hj Ahmad Rasyid Hj Ismail

I am using Malay language as default and i can still post in arabic. Make sure the default language (whatever that is) is set to use utf8 version. UTF8 can read arabic whatever language that is.

Advertisement: