พีดีเอ

View Full Version : แก้ ขอบคุณสำหรับการ vbet แต่ผมสังเกตเห็นบางอย่างที่มีปัญหาแปลกหน้า cmps_index



symbianist
15-06-10, 14:28
ขอบคุณสำหรับการ vbet แต่ผมสังเกตเห็นบางอย่างที่มีปัญหาแปลกหน้า cmps_index
ฉันมี Pag cmps_index.php ของฉันเปลี่ยนชื่อเป็น bindex.php แต่เมื่อฉันพยายามที่จะคลิก trnalstor ตัวอย่างเช่นภาษาอาหรับจะแสดงการเชื่อมโยงการตัดเช่น


www.mywebsite.com / ar / b
ซึ่งเป็นที่คาดคะเนจะเป็น


www.mywebsite.com / AR / bindex.php

และมันจะเหมือนกันสำหรับการแปลทั้งหมด สิ่งที่ฉันต้องทำอะไรเพื่อแก้ไขข้อผิดพลาดนี้ ขอบคุณล่วงหน้า

vBET
15-06-10, 17:35
vBET ตัด index.php จาก URL -- นั่นคือเหตุผลที่คุณมีปัญหานี้ สำหรับการแก้ไขอย่างรวดเร็วโปรด :
1 แก้ไขไฟล์ / includes / vbenterprisetranslator_functions_url.php
2 ค้นหา :


if (false !== strpos($address, 'index.php') && false === strpos($address, '/archive/')) {
$address = str_replace('index.php','',$address);
}

2 แทนที่โดย :


if (false !== strpos($address, '/index.php') && false === strpos($address, '/archive/')) {
$address = str_replace('/index.php','/',$address);
}


มันไม่ช่วยกรุณายืนยัน เราจะรวมไว้ในรุ่นถัดไปคุณจึงจะสงบเกี่ยวกับเรื่องนี้ในระหว่างการปรับปรุง :)

symbianist
16-06-10, 10:25
ฉันผิด มันเป็น index.php เดิมเปลี่ยนชื่อเป็น bindex.php และ cmps_index.php ฉันจะ index.php
นักแปลใน index.php (เดิม cmps_index.php) ของฉันดูเหมือนว่าทำงานได้ แต่ bindex.php (index.php เดิม) ไม่ทำงาน

และฉันไม่สามารถหารหัสนี้ใน / includes / vbenterprisetranslator_functions_url.php


ถ้า (เท็จ! strpos == ($ ที่อยู่','index.php') & & strpos === เท็จ ($ ที่อยู่','เก็บ / /')) {
$ ที่อยู่ = str_replace ('index.php ที่อยู่ ','',$);
}

นี่คือสิ่งที่ฉันมีใน / includes / vbenterprisetranslator_functions_url.php

ถ้า (ดัชนี $ strpos = ($ ที่อยู่','index.php')) {
$ ที่อยู่ = str_replace ('index.php ที่อยู่ ','',$);
}


กรุณาตอบโดยเร็ว

vBET
16-06-10, 20:08
OK -- รหัสที่คุณพบนี้เป็นหนึ่งใน ฉันให้คุณรหัสจากรุ่นไม่ออกยัง แต่ไม่ได้ใช้มัน -- เพราะปัญหาเป็นสิ่งที่อื่น ๆ ที่คุณอธิบายไว้ในสถานที่แรก

เกี่ยวกับปัญหาจริง ครั้งแรก -- ให้แน่ใจว่าจะไม่ได้ทำโดยการตั้งค่าภาษาไทยบางส่วน (เช่นการเขียนที่กำหนดเองหรือบางสิ่ง)

เมื่อคุณจะมั่นใจได้ว่าจะไม่ได้เป็นภาษาไทยแล้วโปรด PM URL และรายละเอียดฟอรั่มการเข้าถึงสำหรับผู้ดูแลระบบ CP, CP และภาษาไทย FTP ของคุณ -- เราจะมีการตรวจสอบในสถานที่

vBET
05-07-10, 07:41
เพราะมันจะไป PM -- ปัญหาสามารถที่จะยืนยันจะถูกปิด?

vBET
07-08-10, 11:56
ยืนยันไม่มี -- ปัญหาการปิด ในกรณีที่มันยังคงเป็นงานที่ใช้งานโปรดตอบที่นี่และมันจะถูกเปิดขึ้นมาใหม่

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Thanks to vBET 4.10.1 enjoy automatic translations