Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ Languages and alternative language support ⇒ i18n - l10n (languages) :: Archives ⇒ TO DO: make cpg absolutly fully multilingual :: Archived


TO DO: make cpg absolutly fully multilingual :: Archived
Want a language pack or convertor? Have feedback on either of these? Are you a developer of one of these? Here is the place to post. Read the announcements here first!
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  i18n - l10n (languages)

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

Offline Offline
Joined: Apr 21, 2004
Posts: 98
Location: Germany
PostPosted: 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
View user's profile Send e-mail Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Ertan
I18N / L10N Lead Dev
I18N / L10N Lead Dev

Offline Offline
Joined: Apr 21, 2004
Posts: 98
Location: Germany
PostPosted: 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
View user's profile Send e-mail Visit poster's website
wi777
Newbie
Newbie

Offline Offline
Joined: Apr 20, 2004
Posts: 44
Location: Taiwan
PostPosted: 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

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
Heavy poster

Offline Offline
Joined: Jun 02, 2004
Posts: 219
Location: Montreal, Canada
PostPosted: 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
View user's profile Visit poster's website
Trevor
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2170
Location: New York
PostPosted: 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
View user's profile Photo Gallery
wi777
Newbie
Newbie

Offline Offline
Joined: Apr 20, 2004
Posts: 44
Location: Taiwan
PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
rakoon13
Newbie
Newbie

Offline Offline
Joined: Sep 09, 2005
Posts: 5
Location: GA
PostPosted: 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. 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
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: 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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  i18n - l10n (languages)
Page 1 of 1
All times are GMT

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

pročitaj još...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
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

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
Interactive software released under GNU GPL, Code Credits, Privacy Policy