DragonflyCMS Projects > AccountPlus > AccountPlus v2.0.1 -german- > Community Forums > Phoenix Netology
Forum Index > Community > AccountPlus

AccountPlus v2.0.1 -german- Reply to topic


Here is my german translation for AccountPlus. To make it multilingual there are some changes necessary, because the width of the tabs are defined in the account.css. In the attached zip-file (I have used 7-zip) are all changed files. If you want to change the files manually:
add dir
themes/*/style/(language)/

modules/Your_Account/ index.php, register.php, forums.php, gallery.php, blogs.php, groups.php and modules/Private_Messages/index.php
change:
if (file_exists('themes/'.$CPG_SESS['theme'].'/style/account.css')) { $modheader .= '<link rel="stylesheet" type="text/css" href="themes/'.$CPG_SESS['theme'].'/style/account.css" media="all" />'; } else { $modheader .= '<link rel="stylesheet" type="text/css" href="themes/default/style/account.css" media="all" />'; }
to
if (file_exists('themes/'.$CPG_SESS['theme'].'/style/'.$currentlang.'/account.css')) { $modheader .= '<link rel="stylesheet" type="text/css" href="themes/'.$CPG_SESS['theme'].'/style/'.$currentlang.'/account.css" media="all" />'; } else if (file_exists('themes/'.$CPG_SESS['theme'].'/style/account.css')) { $modheader .= '<link rel="stylesheet" type="text/css" href="themes/'.$CPG_SESS['theme'].'/style/account.css" media="all" />'; } else { $modheader .= '<link rel="stylesheet" type="text/css" href="themes/default/style/account.css" media="all" />'; }

language/*/your_account.php
line 69 add:
define('_MA_PRIVMSGS','Private Messages');

themes/*/template/account/menu.html
line 71 change
<li><a href="{U_MESSAGES}"><b>_(TB_PRIVMSGS)</b>
to
<li><a href="{U_MESSAGES}"><b>_(MA_PRIVMSGS)</b>

Have fun
Attachment: accountplus_2.0.1_ger.zip
Description
Filename accountplus_2.0.1_ger.zip
Filesize 55.09 KiB
Downloaded 0 Time(s)
You are not allowed to view/download this attachment

Please enter your server specs in your user profile! 😢

All times are Australia/Adelaide


Jump to: