TO DO: make cpg absolutly fully multilingual
Post new topic   Reply to topic   Printer Friendly Page     Forum Indexi18n - l10n (languages)
Author Message
Ertan
I18N / L10N Lead Dev


Joined: Apr 21, 2004
Posts: 98
Location: Germany

PostPost subject: TO DO: make cpg absolutly fully multilingual
Posted: Tue Jul 20, 2004 2:32 pm
Reply with quote

beeeeee from cpgnuke.de makes a full german language paket

and he recognized that not all "language" stuff is moved to lang files

here a list of files with output text in it:
Code:
modules/surveys/index.php
modules/our_sponsors/index.php
modules/encyclopedia/index.php
modules/groups/index.php
modules/journal/display.php
modules/journal/search.php
modules/reviews/index.php
includes/bbcode.js
install/step1.php
install/step2.php
install/step2.php
install/new.php
admin/modules/authors.php
admin/modules/groups.php
admin/modules/users_cfg.php
admin/modules/messages.php
admin/modules/forums.php
admin/modules/settings.php
admin/modules/backup.php
admin/modules/smilies.php
admin/modules/cpgmm.php
admin/modules/coppermine.php
admin/modules/forum/admin_avatar.php
db/db.php
install.php
admin.php
header.php

_________________
.: USE THE FORCE :.

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website
Śyama_Dāsa
Developer


Joined: Apr 19, 2004
Posts: 2049
Location: Dragonfly CMS Tribe

PostPost subject: Re: make cpg full multilingual - move all outputtxt in lang
Posted: Tue Jul 20, 2004 5:53 pm
Reply with quote

we are working on this.. I will confirm each file and make new vars... they will be posted here
cpgnuke.com/cvs/languages/

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)


Last edited by Śyama_Dāsa on Mon Aug 02, 2004 2:22 am; edited 1 time in total
Back to top
View user's profile Visit poster's website Yahoo Messenger
Ertan
I18N / L10N Lead Dev


Joined: Apr 21, 2004
Posts: 98
Location: Germany

PostPost subject: Re: make cpg full multilingual - move all outputtxt in lang
Posted: Tue Jul 20, 2004 7:57 pm
Reply with quote

yeap
thanx

_________________
.: USE THE FORCE :.

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website
wi777
Newbie


Joined: Apr 20, 2004
Posts: 44
Location: Taiwan

PostPost subject: Re: TO DO: make cpg absolutly fully multilingual
Posted: Mon Aug 02, 2004 6:33 am
Reply with quote

I really enjoy cpg-nuke so wish it better and better

don't forget the following files for admin page in multi-lang

admin\links\adlnk_main.php
admin\links\adlnk_cpgmm.php
admin\links\adlnk_coppermine.php
admin\links\adlnk_ShoutBlock.php


for instance,
edit admin\links\adlnk_main.php

PHP:

result
PHP:
<?php
/************************************************************************/
/* CPG-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2004 by DJ Maze */
/* www.cpgnuke.com */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/* */
/* Last modification notes: */
/* */
/* $Id: adlnk_main.php,v 1.13 2004/05/01 03:33:00 djmaze Exp $ */
/* */
/************************************************************************/

if ($radminsuper) {
$menuitems['_AMENU1'][_PREFERENCES]['URL'] = adminlink('Configure');
$menuitems['_AMENU1'][_PREFERENCES]['IMG'] = 'preferences.gif';
$menuitems['_AMENU1'][_DATABASE]['URL'] = adminlink('database');
$menuitems['_AMENU1'][_DATABASE]['IMG'] = 'backup.gif';
$menuitems['_AMENU1'][_BLOCKS]['URL'] = adminlink('BlocksAdmin');
$menuitems['_AMENU1'][_BLOCKS]['IMG'] = 'blocks.gif';
$menuitems['_AMENU1'][_MODULES]['URL'] = adminlink('modules');
$menuitems['_AMENU1'][_MODULES]['IMG'] = 'modules.gif';
$menuitems['_AMENU1'][_SMILIES]['URL'] = adminlink('smilies');
$menuitems['_AMENU1'][_SMILIES]['IMG'] = 'smilies.gif';
$menuitems['_AMENU2'][_EDITADMINS]['URL'] = adminlink('mod_authors');
$menuitems['_AMENU2'][_EDITADMINS]['IMG'] = 'authors.gif';
$menuitems['_AMENU2'][_GROUPS]['URL'] = adminlink('Groups');
$menuitems['_AMENU2'][_GROUPS]['IMG'] = 'groups.gif';
$menuitems['_AMENU3'][_MESSAGES]['URL'] = adminlink('messages');
$menuitems['_AMENU3'][_MESSAGES]['IMG'] = 'messages.gif';
$menuitems['_AMENU4'][_GROUPPERMS]['URL'] = adminlink('forums&amp;file=ug_auth&amp;mode=group');
$menuitems['_AMENU4'][_GROUPPERMS]['IMG'] = 'groupperms.gif';
$menuitems['_AMENU4'][_USERPERMS]['URL'] = adminlink('forums&amp;file=ug_auth&amp;mode=user');
$menuitems['_AMENU4'][_USERPERMS]['IMG'] = 'userperms.gif';
$menuitems['_AMENU6'][_HTTPREFERERS]['URL'] = adminlink('hreferer');
$menuitems['_AMENU6'][_HTTPREFERERS]['IMG'] = 'referers.gif';
$menuitems['_AMENU6'][_BANNERS]['URL'] = adminlink('BannersAdmin');
$menuitems['_AMENU6'][_BANNERS]['IMG'] = 'banners.gif';
}
if (
$radminsuper || $radminuser) {
$menuitems['_AMENU2'][_EDITUSERS]['URL'] = adminlink('mod_users');
$menuitems['_AMENU2'][_EDITUSERS]['IMG'] = 'users.gif';
$menuitems['_AMENU2'][_USERSCONFIG]['URL'] = adminlink('UsersConfig');
$menuitems['_AMENU2'][_USERSCONFIG]['IMG'] = 'usersconfig.gif';
}
if (
$radminsuper || $radminnewsletter) {
$menuitems['_AMENU5'][_NEWSLETTER]['URL'] = adminlink('newsletter');
$menuitems['_AMENU5'][_NEWSLETTER]['IMG'] = 'newsletter.gif';
}
if (
$radminsuper || $radminarticle) {
$menuitems['_AMENU3'][_SUBMISSIONS]['URL'] = adminlink('submissions');
$menuitems['_AMENU3'][_SUBMISSIONS]['IMG'] = 'submissions.gif';
$menuitems['_AMENU3'][_ADDSTORY]['URL'] = adminlink('adminStory');
$menuitems['_AMENU3'][_ADDSTORY]['IMG'] = 'stories.gif';
}
if (
$radminsuper || $radmintopic) {
$menuitems['_AMENU3'][_TOPICS]['URL'] = adminlink('topicsmanager');
$menuitems['_AMENU3'][_TOPICS]['IMG'] = 'topics.gif';
}
if (
$radminsuper || $radminsurvey) {
$menuitems['_AMENU3'][_ADMPOLLS]['URL'] = adminlink('create');
$menuitems['_AMENU3'][_ADMPOLLS]['IMG'] = 'surveys.gif';
}
if (
$radminsuper || $radminforum) {
$menuitems['_AMENU4'][_FORUMS]['URL'] = adminlink('forums');
$menuitems['_AMENU4'][_FORUMS]['IMG'] = 'forums.gif';
}
if (
$radminsuper || $radminephem) {
$menuitems['_AMENU5'][_EPHEMERIDS]['URL'] = adminlink('Ephemerids');
$menuitems['_AMENU5'][_EPHEMERIDS]['IMG'] = 'ephemerids.gif';
}
?>


add the followin lines in \html\admin\language\lang-english.php


PHP:

Thank you very much

_________________


wi777's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
WINXP SP2/ apache 2.0.54/ php 5.0/ mysql 4.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
roRisc
Heavy poster


Joined: Jun 02, 2004
Posts: 219
Location: Montreal, Canada

PostPost subject: Re: TO DO: make cpg absolutly fully multilingual
Posted: Sun Aug 08, 2004 8:18 pm
Reply with quote

just to add..
there is a lot of repetition....

for every module language translation.. the same fraze like "yes" "no" "previous" etc. etc. have to be retranslated.

is there a way to deal with this boring repetition?
thanks.


roRisc's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Gentoo Linux, Apache2 - mod-php
Back to top
View user's profile Visit poster's website
Trevor
Developer


Joined: Apr 19, 2004
Posts: 2170
Location: New York

PostPost subject: Re: TO DO: make cpg absolutly fully multilingual
Posted: Sun Aug 08, 2004 9:26 pm
Reply with quote

roRisc wrote:
for every module language translation.. the same fraze like "yes" "no" "previous" etc. etc. have to be retranslated.

is there a way to deal with this boring repetition?

Yeah, we could add these definitions to the main language file and have the module grab definitions for the main site as well as that of the module in question.


Trevor's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.34 / 4.1.18 / 4.4.2 / CVS
Back to top
View user's profile
wi777
Newbie


Joined: Apr 20, 2004
Posts: 44
Location: Taiwan

PostPost subject: Re: TO DO: make cpg absolutly fully multilingual
Posted: Mon Aug 09, 2004 12:41 am
Reply with quote

just to add

this file also need be translated in multi-language from attachment_mod_v239

html\admin\modules\forums.php

_________________


wi777's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
WINXP SP2/ apache 2.0.54/ php 5.0/ mysql 4.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
Śyama_Dāsa
Developer


Joined: Apr 19, 2004
Posts: 2049
Location: Dragonfly CMS Tribe

PostPost subject: Re: TO DO: make cpg absolutly fully multilingual
Posted: Mon Aug 09, 2004 7:35 pm
Reply with quote

_YES and _NO have been added to the main language file and are being deleted from the modules files
_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger
Śyama_Dāsa
Developer


Joined: Apr 19, 2004
Posts: 2049
Location: Dragonfly CMS Tribe

PostPost subject: Re: TO DO: make cpg absolutly fully multilingual
Posted: Sun Dec 26, 2004 4:43 am
Reply with quote

Dragonfly 9.0 is a long way from phpnuke or even 8.2 in it's localization effort.

Beside the additonal vars added to bring the parts y'all have pointed out, blocks can use a language var for the tiitle and module use the modules language var.

We appreciate your help by please reporting any outstanding areas in our bug reporting module

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger
rakoon13
Newbie


Joined: Sep 09, 2005
Posts: 5
Location: GA

PostPost subject: Re: TO DO: make cpg absolutly fully multilingual
Posted: Mon Sep 12, 2005 9:09 am
Reply with quote

Can I use the code from above ?
coz it will help me alot but I don't wana use something without permission.

Please PM me.

Thanks. Laughing


rakoon13's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
v32.2
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer


Joined: Apr 19, 2004
Posts: 2049
Location: Dragonfly CMS Tribe

PostPost subject: Re: TO DO: make cpg absolutly fully multilingual
Posted: Mon Sep 12, 2005 9:46 pm
Reply with quote

for dragonfly rakoon13?
_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Indexi18n - l10n (languages) All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 1.4303 seconds with 16 DB Queries in 0.1351 seconds
Memory Usage: 3.03 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy