Helpful Information
 
 
Category: vBulletin 2.x
List of PHP files needing translation

Hello vB Troopers,

Ok, Ok, it's not a hack, but it is a download and it will help alot of foreign vB users with the "correct" translation of their board.

Attached is a list I made of all the php files that hold small bits of english in them. Without translating these bits your board will not be completely translated.

I have seen many threads about getting the "english" out of the code. And making some sort of include to get it done. Well, this list should help.

I believe I have everything, but it is possible that I may have missed something. If I did please post it here and I'll update my list. Thanx.

Hope I could help! :)

Scott

Mods - if you know of a better place to put this, be my guest.:)

thanks alot scott and I have a dummy question I always wanted to know the answer

when you say line numbers ... how can you know the line number ...I use wordpad and there is no place where it tells you the line number

and thanks again

dxb Then it is time to get yourself a good texteditor like Ultraedit (http://www.ultraedit.com). There are certainly many others around that are equal good.

I enjoy the simple things in life..

http://www.phpide.de


Sometimes the best tools are the free ones :D :D

Thanks alot Fryzid and Prohacker

I have also translated the variable $idname in all php-files.

In showthread.php you can find:

$post[usertitle]="Guest";
$post[joindate]="Not Yet";
$post[posts]="N/A";


At last there are some alt-tags for images. You have to searc for them.

Everybody using national characters must insert setlocale function into the code. That's for sure.

Don't know the most appropriate place.
I added one in admin/functions.php -> function indexpost
and another in showthread.php
Examples (change locale for your own language)

setlocale("LC_ALL","ru_RU.KOI8-R");
or
setlocale("LC_ALL","de_DE.ISO-8859-1");
or
setlocale("LC_ALL","fr_FR.ISO-8859-1");

That will correct problem with unappropriate indexing of non-english messages.

Originally posted by Streicher
I have also translated the variable $idname in all php-files.

In showthread.php you can find:

$post[usertitle]="Guest";
$post[joindate]="Not Yet";
$post[posts]="N/A";


At last there are some alt-tags for images. You have to searc for them.

I have to correct myself. Since version 2.0.3 the part

$post[usertitle]="Guest";
$post[joindate]="Not Yet";
$post[posts]="N/A";

is in functions.php

Thanks, great job!
-Tom

thx, i need it for translation to "chinese" version.
And I wonder would vB3 support languages pack so that we just change that file only.

It would be better to ask this over at vbulletin.com but I think that translations will be a lot easier.

Any specific language here? Or can I just say "Ok, I might have an interest in helping these to be translated to Dutch".










privacy (GDPR)