Page 1 of 1

arabic Translation [ar]

Posted: 22. January 2010 08:05
by Scout4all
hello
I have translate board3portal in to Arabic language
download link for portal with rtl style block fix: http://code.google.com/p/arabictranslat ... /downloads
Demo arabic translation :http://flasheg.com/community/portal.php
now my translation is validating by Translators team in Arabic support forum

Re: arabic Translation [ar]

Posted: 22. January 2010 12:25
by Mike
Thank you for Translation. :)

Nevertheless i have to say, that B3P 1.0.5 (newest Version) already have an RTL fix ;)

Re: arabic Translation [ar]

Posted: 22. January 2010 13:58
by Scout4all
Mike wrote:Thank you for Translation. :)

Nevertheless i have to say, that B3P 1.0.5 (newest Version) already have an RTL fix ;)
style block fixes like last members block -- i fixed it to cope with RTL page
and i also fixed RTL in 1.0.4

Re: arabic Translation [ar]

Posted: 22. January 2010 14:09
by Marc
A code explanation of what you did would kind of help me to understand you.

Re: arabic Translation [ar]

Posted: 22. January 2010 14:37
by Scout4all
block like top_poster.html

was in ltr

Code: Select all

	<span style="float:left;"><strong>{L_USERNAME}</strong></span>
	<span style="float:right;padding-right:10px;"><strong>{L_POSTS}</strong></span><br style="clear:both" />
	<!-- BEGIN top_poster -->
		<span style="float:left;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:left; padding-left:5px; padding-top:2px;">{top_poster.USERNAME_FULL}</span>
		<span style="float:right;padding-right:10px; padding-top:2px;"><a href="{top_poster.S_SEARCH_ACTION}">{top_poster.POSTER_POSTS}</a></span><br style="clear:both" />
now in rtl

Code: Select all

<span style="float:right;padding-right:10px;"><strong>{L_USERNAME}</strong></span>
	<span style="float:left;"><strong>{L_POSTS}</strong></span><br style="clear:both" />
	<!-- BEGIN top_poster -->
		<span style="float:right;padding-right:10px; padding-top:2px;"><img src="{T_THEME_PATH}/images/portal/portal_user.png" width="16" height="16" alt="" /></span><span style="float:right; padding-right:5px; padding-top:2px;">{top_poster.USERNAME_FULL}</span>
		<span style="float:left;"><a href="{top_poster.S_SEARCH_ACTION}">{top_poster.POSTER_POSTS}</a></span><br style="clear:both" />
and i have changed in files random_member.html ,leaders_ext.html ,leaders.html ,attachments.html ,latest_members.html ,online_friends.html
like previous changes
previous and next month in mini calender images in mini-cal.php
was

Code: Select all

$prev_month = '<a href="' . append_sid("{$phpbb_root_path}portal.$phpEx", "m=$down#minical") . '"><img src="' . $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/mini_cal_icon_left_arrow.png' . '" title="' . $user->lang['VIEW_PREVIOUS_MONTH'] . '" height="16" width="16" alt="<<" /></a>';
$next_month = '<a href="' . append_sid("{$phpbb_root_path}portal.$phpEx", "m=$up#minical") . '"><img src="' . $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/mini_cal_icon_right_arrow.png' . '" title="' . $user->lang['VIEW_NEXT_MONTH'] . '" height="16" width="16" alt=">>" /></a>'; 
now in rtl

Code: Select all

$prev_month = '<a href="' . append_sid("{$phpbb_root_path}portal.$phpEx", "m=$down#minical") . '"><img src="' . $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/mini_cal_icon_right_arrow.png' . '" title="' . $user->lang['VIEW_PREVIOUS_MONTH'] . '" height="16" width="16" alt="<<" /></a>';
$next_month = '<a href="' . append_sid("{$phpbb_root_path}portal.$phpEx", "m=$up#minical") . '"><img src="' . $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/mini_cal_icon_left_arrow.png' . '" title="' . $user->lang['VIEW_NEXT_MONTH'] . '" height="16" width="16" alt=">>" /></a>'; 
list arrow in css
added rtl css code

Code: Select all

.rtl .portal-navigation ul li a{
background-position: center right; /*custom bullet list image*/
padding-right: 19px; /*link text is indented 19px*/
}

Re: arabic Translation [ar]

Posted: 22. January 2010 15:38
by Marc
Thank you. We will include that in the next release.