Page 1 of 1

Automatic Update Other Language

Posted: 22 Mar 2010, 22:35
by Post Bot
Automatic Update Other Language
Written by Stoker with help from JimA

Having a heavy modded board with a foreign language is a *biip* when updating.
Other languages than english needs to be updated manually, this is hard because you dont remember which files you have modified.

But you can actually update foreign languages with the automatic updater.
Here is what you do. In this example we update from 3.0.6 to 3.0.7-PL1 and we are updating the danish language (da)

Step 1
Download the automatic updater here
Unzip it

Step 2
You need 2 versions of your language files. The ones you are updating from (3.0.6) and the ones you are updating to (3.0.7-PL1)
Download them and unzip them.

Step 3
You downloaded the automatic update package. Open the install folder and then the update folder.
There is a file called index.php - Open it
It contains a list of files that needs to be updated.
We are updating language files so make sure to add the same files in your language as the english.
The english files are:

Code: Select all

'language/en/acp/board.php',
	'language/en/acp/common.php',
	'language/en/acp/forums.php',
	'language/en/acp/posting.php',
	'language/en/captcha_qa.php',
	'language/en/common.php',
	'language/en/email/admin_welcome_inactive.txt',
	'language/en/help_faq.php',
	'language/en/mcp.php',
	'language/en/search_synonyms.php',
	'language/en/ucp.php',
So after this we will have to add:

Code: Select all

'language/da/acp/board.php',
	'language/da/acp/common.php',
	'language/da/acp/forums.php',
	'language/da/acp/posting.php',
	'language/da/captcha_qa.php',
	'language/da/common.php',
	'language/da/email/admin_welcome_inactive.txt',
	'language/da/help_faq.php',
	'language/da/mcp.php',
	'language/da/search_synonyms.php',
	'language/da/ucp.php',
Save the file when this is done.

Step 4
You downloaded the automatic update package. Open the install folder and then the update folder.
You can see two folders. One named new and one named old.
Now you need to copy the new language file to the new folder. You will find a language folder and the new language files needs to be put in a new language folder.
In this example we updated the danish language so the folder is named da.
Remember only to put the files that we need to update in that folder.

The same for the old files, they go in the old folder.


Thats it. You have made an automatic update package with the danish language.
Its not only with language files you can do this. The same goes for styles.