| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
Ertan I18N / L10N Lead Dev


Offline Joined: Apr 21, 2004 Posts: 98 Location: Germany
|
Posted: Tue Jul 20, 2004 2:32 pm Post subject: TO DO: make cpg absolutly fully multilingual |
|
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 |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Tue Jul 20, 2004 5:53 pm Post subject: Re: make cpg full multilingual - move all outputtxt in lang |
|
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 |
|
 |
Ertan I18N / L10N Lead Dev


Offline Joined: Apr 21, 2004 Posts: 98 Location: Germany
|
Posted: Tue Jul 20, 2004 7:57 pm Post subject: Re: make cpg full multilingual - move all outputtxt in lang |
|
yeap
thanx
_________________ .: USE THE FORCE :.
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
wi777 Newbie


Offline Joined: Apr 20, 2004 Posts: 44 Location: Taiwan
|
Posted: Mon Aug 02, 2004 6:33 am Post subject: Re: TO DO: make cpg absolutly fully multilingual |
|
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
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&file=ug_auth&mode=group'); $menuitems['_AMENU4'][_GROUPPERMS]['IMG'] = 'groupperms.gif'; $menuitems['_AMENU4'][_USERPERMS]['URL'] = adminlink('forums&file=ug_auth&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
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 |
|
 |
roRisc Heavy poster


Offline Joined: Jun 02, 2004 Posts: 219 Location: Montreal, Canada
|
Posted: Sun Aug 08, 2004 8:18 pm Post subject: Re: TO DO: make cpg absolutly fully multilingual |
|
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 |
|
 |
Trevor Developer


Offline Joined: Apr 19, 2004 Posts: 2170 Location: New York
|
Posted: Sun Aug 08, 2004 9:26 pm Post subject: Re: TO DO: make cpg absolutly fully multilingual |
|
| 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 |
|
 |
wi777 Newbie


Offline Joined: Apr 20, 2004 Posts: 44 Location: Taiwan
|
Posted: Mon Aug 09, 2004 12:41 am Post subject: Re: TO DO: make cpg absolutly fully multilingual |
|
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 |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Mon Aug 09, 2004 7:35 pm Post subject: Re: TO DO: make cpg absolutly fully multilingual |
|
_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 |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Sun Dec 26, 2004 4:43 am Post subject: Re: TO DO: make cpg absolutly fully multilingual |
|
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 |
|
 |
rakoon13 Newbie


Offline Joined: Sep 09, 2005 Posts: 5 Location: GA
|
Posted: Mon Sep 12, 2005 9:09 am Post subject: Re: TO DO: make cpg absolutly fully multilingual |
|
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.
rakoon13's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) v32.2
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Mon Sep 12, 2005 9:46 pm Post subject: Re: TO DO: make cpg absolutly fully multilingual |
|
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 |
|
 |
|
|