Fork me on GitHub
Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
Submit a Q&A Request a Q&A Open Questions

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

How do I...

remove www

Answer here!

Did you know ?

MySQL 4.1 upwards uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients, including PHP 4.

More details...

Random question

What are 'Binary and ASCII' files?

Answer here!

Recent Q&A List

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 adslight Android AntiHarvesting AntiMalUser AntiSpam Apple Battlefield billige Blocks Bootstrap Captcha cell cent chronolabs CHUNG Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor Food for free Gateway Google Guide herre Home Honeypot html5 Human HỘ IP iPhone jQuery List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon Room security Sentry site Smartphone Smarty Smoking Spam stem Studio support tag tdmcreate template The Theme themes User userlog weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 137287

Zafer

Welcome to XOOPS!
SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

Question
How do I translate Xoops to another language.
Answer
To translate XOOPS in another language the steps are as follow:

Locate the desired original language directory and make a copy of it, after this, rename that copy according to the destination language you wish for the files to be, e.g: ( "Copy of english" directory becomes "dutch" or "italian" , etc.)

Open the renamed folder (e.g: "italian") and there you will find the language files (e.g: "admin.php" , "main.php" , "blocks.php" ) .Choose for example the file "admin.php" and open it with a text editor (I use "Wordpad" for its simplicity and endless back option).

The file contains the .php codes that will tell the language file what line/deffinition to chose e.g:

define( "_AM_H3_FMT_CATEGORIES" , "Categories Manager (%s)" ) ;

all that is requiered to modification is the text in between the " " , as above "Categories Manager (%s)"

so if I'm to translate into italian, the line :

define( "_AM_H3_FMT_CATEGORIES" , "Categories Manager (%s)" ) ;

will become:

define( "_AM_H3_FMT_CATEGORIES" , "Gestione categorie (%s)" ) ;

You will have to be very very carefull not to delete parts of the .php code such as " or ; or () because on load you will get a blank page.

REMEMBER to backup and to KEEP the original language files just in case you delete requiered data and you will need to restore backup.

IF you get a blank page on load , most likely you deleted more than just the translated text, in this case don't panic for a quik retore just ovewrite your translated file with the original.

Good Luck

Requested by Carnuke and Answered by Aph3x on 2006/3/19 3:29:18 (6504 reads) 3 Comment(s) Print Q&A Send Q&A

The comments are owned by the author. We aren't responsible for their content.
Hi,
then, how to set the language as the default one ?
Thanks,
Published: 2006/7/4 1:54 • Updated: 2006/7/4 1:54
1. Administration
2. System Admin --> Preferences --> General Settings
3. Default language
Published: 2006/7/4 3:26 • Updated: 2006/7/4 3:26
It would be very helpfull here to mention Kiang's "Language Tool"

But please pay attention to the following:
Do not use it on a live site since
- it has no permissions (yet Kiang?) and anybody could use it damaging your modules,
- it does not differentiate the live modules from those for translation.
Published: 2006/7/4 6:35 • Updated: 2006/7/4 6:35