Elxis CMS Forum

Extensions => Components => Topic started by: sawaedy on December 02, 2011, 12:04:14

Title: translate eforum(solved)فارسی سازی
Post by: sawaedy on December 02, 2011, 12:04:14
i want to translate the eforum , but dont know edite what file to translate?  can help me?
Title: Re: translate eforum
Post by: webgift on December 02, 2011, 12:59:37
Hello sawaedy,
You can translate the eforum component by downloading it from here (http://www.elxis-downloads.com/downloads/forums/255.html)
- At the zip file you will find out a folder named languages.
- Create a brand new php file in this folder with the name of language that you are interested to.
- Open english.php language file, copy all the contents and paste to your language file that you have created above.
- Translate each of the language strings and save this file as File encoding : UTF-8 without BOM.

It is highly recommended to use a free php editor like : PsPad (http://www.pspad.com/en/download.php)
After you finished that you can attached this file to this area in order to check and publish it. ;)

Good luck.
Title: Re: translate eforum
Post by: sawaedy on December 08, 2011, 15:56:01
im do, but not work
Title: Re: translate eforum
Post by: webgift on December 08, 2011, 15:59:41
After you finished that you can attached this file to this area in order to check and publish it. ;)
Title: Re: translate eforum
Post by: sawaedy on December 09, 2011, 20:26:08
hi
i do the work and upload the file

[attachment deleted by admin]
Title: Re: translate eforum
Post by: webgift on December 10, 2011, 16:53:18
You can see the changes that you have already done by visiting your elxis website at URL : your_website.tld/fa/eforum/. Here is the Persian language of eForum Component. These questionnaires that you may see is caused because of a wrong File Encoding that you set by the time of saving the persian.php language file. As i have already mentioned  we need a UTF-8 Encoding file Without BOM.
Title: Re: translate eforum(solved)
Post by: datahell on December 11, 2011, 10:15:00
Thank you!
Title: Re: translate eforum(solved)
Post by: webgift on December 11, 2011, 14:12:39
Congrats sawaedy! Thank you for supporting Elxis ;)
Title: Re: translate eforum(solved)فارسی سازی
Post by: sawaedy on December 18, 2011, 02:21:41
very thanks from you, excellent help
i release the file and good work
http://www.sawaedy.com/eforum/

im translate eforum in persian
ترجمه برنامه تالار گفتگو به فارسی
Title: Re: translate eforum(solved)فارسی سازی
Post by: datahell on December 18, 2011, 11:18:48
Your translation has wrong encoding!
Please save-it as UTF-8 and re-upload it.
Title: Re: translate eforum(solved)فارسی سازی
Post by: sawaedy on December 18, 2011, 18:22:48
i edit
Title: Re: translate eforum(solved)فارسی سازی
Post by: datahell on December 20, 2011, 21:33:26
The encoding is wrong again. You must save it as UTF-8.
You have saved it as ANSI, that way only users having Persian keybord can read the file properly. This is why it is important to save it as UTF-8.

Open the file with PSPAD (http://www.pspad.com/)
Then set it as UTF-8 as show in the Bulgarian sample file (sorry my pspad is in Greek).
Save it and re-upload it here.

I attach wrong Persian encoding and correct Bulgarian encoding screenshots.

[attachment deleted by admin]
Title: Re: translate eforum(solved)فارسی سازی
Post by: sawaedy on December 20, 2011, 21:42:37
ok,thanks 
i relased


[attachment deleted by admin]
Title: Re: translate eforum(solved)فارسی سازی
Post by: datahell on December 20, 2011, 21:48:14
Yes, it is now correct!
Thank you!

I updated eForum v1.2 release on EDC (http://www.elxis-downloads.com/downloads/forums/255.html) and now the package has the Persian language pre-installed.
Title: Re: translate eforum(solved)فارسی سازی
Post by: sawaedy on December 23, 2011, 09:54:07
thank datahell