أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

Translate portal to Persian

موضوع مغلق


  • [مطلوب]:
17-10-2011 06:29 مساءً
pbb center iran
معلومات الكاتب
we want to translate portal but we could\'t find where is the language file of that
plz help meTranslate portal to Persian

look/images/icons/i1.gif Translate portal to Persian
  17-10-2011 06:43 مساءً   [1]
محمد الصاوي
معلومات الكاتب
in language.php
you search on specified sentence and translate it

look/images/icons/i1.gif Translate portal to Persian
  17-10-2011 06:51 مساءً   [2]
baha_odeh
معلومات الكاتب
this is the language file
language.php
language_Admin.php


and you will found it in the
CODE
forum\lang\en

look/images/icons/i1.gif Translate portal to Persian
  17-10-2011 07:10 مساءً   [3]
pbb center iran
معلومات الكاتب
we have searched but we couldn't find it
what's Function Of it?

look/images/icons/i1.gif Translate portal to Persian
  17-10-2011 07:22 مساءً   [4]
pbb center iran
معلومات الكاتب
we have searched but we couldn't find it
what's Function Of it؟

look/images/icons/i1.gif Translate portal to Persian
  17-10-2011 08:36 مساءً   [5]
AHMED
معلومات الكاتب
language file attached
 
  lang.rar   تحميل rar مرات التحميل :(9)
الحجم :(88.081) KB

look/images/icons/i1.gif Translate portal to Persian
  17-10-2011 08:52 مساءً   [6]
Soliman
معلومات الكاتب
!!Did you mean Blocks Titles
If this is what you mean

Open the file: setup/install/database_struct.php

And look for the function _InsertBlocks found in the last file:
CODE
    function _InsertBlocks()
    {
	   global $PowerBB;

	   $BlocksArray = array();

	   $BlocksArray[0]				 =	array();
	   $BlocksArray[0]['title']	    =	'الأقسام الرئيسية';
	   $BlocksArray[0]['text']	    =	'{template}portal_main_categories{/template}';
	   $BlocksArray[0]['place_block']	    =	'left';
	   $BlocksArray[0]['sort']	    =	'1';

	   $BlocksArray[1]			  =	array();
	   $BlocksArray[1]['title']	    =	'إحصائيات';
	   $BlocksArray[1]['text']	    =	'{template}portal_static{/template}';
	   $BlocksArray[1]['place_block']	    =	'left';
	   $BlocksArray[1]['sort']	    =	'2';

	   $BlocksArray[2]				 =	array();
	   $BlocksArray[2]['title']	    =	'الساعة';
	   $BlocksArray[2]['text']	    =	'{template}portal_clock{/template}';
	   $BlocksArray[2]['place_block']	    =	'left';
	   $BlocksArray[2]['sort']	    =	'3';

	   $BlocksArray[3]				 =	array();
	   $BlocksArray[3]['title']	    =	'التقويم';
	   $BlocksArray[3]['text']	    =	'{template}portal_calendar{/template}';
	   $BlocksArray[3]['place_block']	    =	'center';
	   $BlocksArray[3]['sort']	    =	'2';

	   $BlocksArray[4]				 =	array();
	   $BlocksArray[4]['title']	    =	'آخر الأخبار';
	   $BlocksArray[4]['text']	    =	'{template}portal_last_news{/template}';
	   $BlocksArray[4]['place_block']	    =	'center';
	   $BlocksArray[4]['sort']	    =	'1';

	   $BlocksArray[5]				 =	array();
	   $BlocksArray[5]['title']	    =	'القائمة الرئيسية';
	   $BlocksArray[5]['text']	    =	'{template}portal_main_menu{/template}';
	   $BlocksArray[5]['place_block']	    =	'right';
	   $BlocksArray[5]['sort']	    =	'1';

	   $BlocksArray[6]				 =	array();
	   $BlocksArray[6]['title']	    =	'المتواجدين الآن';
	   $BlocksArray[6]['text']	    =	'{template}portal_online{/template}';
	   $BlocksArray[6]['place_block']	    =	'right';
	   $BlocksArray[6]['sort']	    =	'2';

	   $BlocksArray[7]				 =	array();
	   $BlocksArray[7]['title']	    =	'آخر المشاركات';
	   $BlocksArray[7]['text']	    =	'{template}portal_latest_posts{/template}';
	   $BlocksArray[7]['place_block']	    =	'right';
	   $BlocksArray[7]['sort']	    =	'3';



	   $x = 0;
	   $i = array();

	   while ($x < sizeof($BlocksArray))
	   {
		  $insert = $PowerBB->DB->sql_query("INSERT INTO " . $PowerBB->prefix."blocks SET
											 id=&#39;NULL&#39;,
											 title=&#39;" . $BlocksArray[$x][&#39;title&#39;] . "&#39;,
											 text=&#39;" . $BlocksArray[$x][&#39;text&#39;] . "&#39;,
											 place_block=&#39;" . $BlocksArray[$x][&#39;place_block&#39;] . "&#39;,
											 sort=&#39;" . $BlocksArray[$x][&#39;sort&#39;] . "&#39;");

		  $i[$x] = ($insert) ? &#39;true&#39; : &#39;false&#39;;

		  $x += 1;
	   }

	   return $i;
    }

look/images/icons/i1.gif Translate portal to Persian
  18-10-2011 08:58 صباحاً   [7]
pbb center iran
معلومات الكاتب
Thank you very muchTranslate portal to Persian Translate portal to Persian Translate portal to Persian Translate portal to Persian

look/images/icons/i1.gif Translate portal to Persian
  18-10-2011 01:18 مساءً   [8]
Soliman
معلومات الكاتب
You are welcome

تم تحرير المشاركة بواسطة :Soliman بتاريخ:18-10-2011 01:19 مساءً



المواضيع المتشابهه
عنوان الموضوع الكاتب الردود الزوار آخر رد
اختفاء صفحة pbb portal القلب الطيب
2 457 القلب الطيب
طلب تعديل قالب portal_last_news عبدالاله الهذلي
2 686 Soliman
portal_lasr_news مشكلة مسافر
3 779 مسافر
مشكلة بعد تركيب بوابة الموقع SITE_PORTAL_4_5_pbb3 ossman
4 1246 Mr King
تفعيل portal في ستايل الهاتف ؟ akroum
1 842 akroum

الكلمات الدلالية
لا يوجد كلمات دلالية ..






الساعة الآن 08:31 PM