AlegroCart open source E-commerce
Web hosting by Host1Plus

Indonesia language

Language files

Indonesia language

Postby soennar » Wed Mar 28, 2012 11:22 am

Hallo: I has new in using allegro...
I just wanna to ask... how i change default language to indonesian..
how i can edit dan fotmat it..thanks....
soennar
 
Posts: 10
Joined: Tue Mar 27, 2012 3:05 pm

Re: Indonesia language

Postby leo » Wed Mar 28, 2012 12:31 pm

Hi,
Welcome to the forum!
Read this FAQ:
viewtopic.php?f=22&t=96
It will help you.
Do not hesitate to ask us if you need further help.
User avatar
leo
admin
 
Posts: 4215
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Indonesia language

Postby soennar » Thu Mar 29, 2012 12:23 am

Following that site:

I Still don't understand...about to make indonesian php
in Step 1 n 2..

Sorry I'm still newbie n wanna to make a new.. need some help..


How to Create a language pack
Using "german" language as my example

STEP 1: Make copies of the original language file structure
ORIGINAL:
catalog/language/english
admin/language/english
COPY:
catalog/language/german
admin/language/german

Inside your new folder, eg: german, rename the file english.php to german.php

STEP 2: Change all the values within the new copy files to the translated language.
For example, english.php has:
Code:
.....
// Button
$_['button_list'] = 'List';
$_['button_insert'] = 'Insert';
$_['button_update'] = 'Update';
$_['button_delete'] = 'Delete';
$_['button_save'] = 'Save';
.....
In the german.php file it would be:
Code:
.....
// Buttons
$_['button_list'] = 'Liste';
$_['button_insert'] = 'Einfügen';
$_['button_update'] = 'Aktualisieren';
$_['button_delete'] = 'Löschen';
$_['button_save'] = 'Speichern';
.....
soennar
 
Posts: 10
Joined: Tue Mar 27, 2012 3:05 pm

Re: Indonesia language

Postby Brent » Thu Mar 29, 2012 8:54 am

What you are doing is copying the English language files into new folders labeled indonesian.
Inside the indonesian folder, change the name on english.php to indonesian.php.
That is the only file name you have to change in both catalog and admin.

You then open each file in your indonesian folder and change the english value to indonesian.
Example:
Change: $_['button_list'] = 'List';
To: $_['button_list'] = 'Daftar';
User avatar
Brent
Site Admin
 
Posts: 4365
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh


Return to Language Contributions

Who is online

Users browsing this forum: No registered users and 1 guest

cron