
Gettext gwneud yn haws cyfieithu
Mae'r fersiwn newydd wedi dau newid mawr a llawer o bug chyfyngderau cynnwys.
Y newid mwyaf pwysig yw integreiddio chan 'r plugin gyda'r system Gettext WordPress, sef y ffordd WordPress (a rhai themâu a plugins) ddarparu fersiynau lleol eu hunain. Mae hyn yn cael ei wneud gyda chwpl o ffeiliau (.po ffeil o'r enw .mo / oherwydd eu estyniadau) sy'n cynnwys rhestr o linynnau cyfieithu bod y meddalwedd yn cynnwys.
Beth Transposh yn awr yn ei wneud yw dweud defnyddio ffeil, felly os oes gennych 'r rengau a cyfieithu WordPress i Sbaeneg, byddant yn cymryd blaenoriaeth a bydd Transposh ddefnyddio'r ffeiliau i wneud y cyfieithiad o'r rhyngwyneb i Sbaeneg. Pam mae hyn yn well? mae yna ychydig o resymau, un yw bod weithiau yn galluogi cyfieithiadau lle y maent yn eu blaen yn amhosibl, arall yw bod y cyfieithiad yn ddynol seiliedig a ystyrir yn fwy cywir, a'r olaf yw y gall yn glir amwysedd yn enwedig mewn llinynnau byr megis enwau diwrnod y mis byrfoddau a.
Sut i gael y .po .mo rengau /, a mwy o wybodaeth am sut y gall y gwaith hwn ar gael yn http://trac.transposh.org/wiki/UsingGetText.
Mae'r nodwedd hon hefyd yn cynnwys rewrite y system storio mewn chof chan 'r plugin, sydd erbyn hyn yn cefnogi xcache a eaccelarator yn ychwanegol at y fersiynau blaenorol APC cymorth. Mae'r fersiwn hon yn defnyddio mwy o gynrychiolaeth cryno o'r data sy'n gwella perfformiad a lleihau chof chynefod.
chyfyngderau Mwy yn y fersiwn:
- Bydd Tags o'r cwmwl tag yn awr yn cael ei gyfieithu gyda màs cyfieithu
- Atgyweiria achos y cyfrwys “nid pennawd plugin dilys” mater, os ydych yn cael “Default” ddwywaith a restrir yn eich dewis lleoliadau widget, os gwelwch yn dda ddilea 'r ffeilia widgets tpw_deafult.php /
- Atgyweiria achos MS gyfieithu tuedd i ychwanegu gofod ychwanegol i gyfieithu canlyniad
- bug sefydlog gyda rhestr gyda baneri css widget atal barn baneri
Rydym hefyd wedi newid cynllun y safle hwn ychydig fel y gallwch weld y porthiant datblygu a newidiadau mewn mwy o amser real ffasiwn.
Aros am eich feedbacks ar y fersiwn.
Update: A bug Darganfuwyd y pryd yn arfer 'r plugin heb caching, os oes gennych ailadrodd cyfieithiadau, neu nad ydych yn gallu gweld a wnaed yn flaenorol chyfieithiadau, os gwelwch yn dda reinstall 'r plugin o wordpress.org, r plugin mae sefydlog erbyn hyn. Ddiolch Nicholas ar gyfer adrodd hwn.


#1 gan Arle Uein ar Medi 3, 2010 - 12:03 pm
Hi,
I have a new bug with the new release (0.6.3) and the plugin Mailpress. When we want to display one of the translations of the page, there is an error :
Rhybudd: DOMDocument::loadXML() [domdocument.loadxml]: Unregistered error message in Entity, linell: 4 in /wp-content/plugins/mailpress/mp-includes/class/MP_Xml.class.php on line 7
Rhybudd: DOMDocument::loadXML() [domdocument.loadxml]: PCDATA invalid Char value 1 in Entity, linell: 4 in /wp-content/plugins/mailpress/mp-includes/class/MP_Xml.class.php on line 7
Rhybudd: DOMDocument::loadXML() [domdocument.loadxml]: PCDATA invalid Char value 3 in Entity, linell: 4 in /wp-content/plugins/mailpress/mp-includes/class/MP_Xml.class.php on line 7
Rhybudd: DOMDocument::loadXML() [domdocument.loadxml]: Sequence ‘]]>’ not allowed in content in Entity, linell: 4 in /wp-content/plugins/mailpress/mp-includes/class/MP_Xml.class.php on line 7
Rhybudd: DOMDocument::loadXML() [domdocument.loadxml]: internal errorExtra content at the end of the document in Entity, linell: 4 in /wp-content/plugins/mailpress/mp-includes/class/MP_Xml.class.php on line 7
Angheuol Gwall: Call to a member function hasAttributes() on a non-object in /wp-content/plugins/mailpress/mp-includes/class/MP_Xml.class.php on line 50
#2 gan ofer ar Medi 6, 2010 - 11:31 pm
I installed that plugin and could not see the conflict, I guess I am missing something somewhere.
The conflict is caused by the way Transposh uses to integrate into gettext (by adding those chars and later removing them) normally the conflict you are describing should not happen.
#3 gan Arle Uein ar Medi 13, 2010 - 7:55 pm
You may add an option “disable gettext integration” …
#4 gan ofer ar Medi 13, 2010 - 10:06 pm
Ydw, guess I’ll add it to the next version
#5 gan Mugits Edward ar Medi 5, 2010 - 5:45 pm
I love what i see and read here, just not technically able to implement. Getting ready to have my coffee site updated to latest WP and this plug-in for translation is a must for me. When translated, will it update and populate the page as though it were a unique page? If I had 20 pages in english and translated into Japanese, would i be able to use the translated page to create an actual page and save it as now a live page and enable full meta optimization?
I need a website done and I want to incorporate this functionality, anybody avialable to quote this?
#6 gan ofer ar Medi 6, 2010 - 11:29 pm
Hello Edward,
The translated page is an actual page for any practical purpose, I don’t know what you mean exactly by full meta optimization but I surely hope it works
#7 gan nvr on Medi 9, 2010 - 11:10 am ar
Hi,
(sorry for my english)
For my polish web i set Polish language to default. When changing lang to other, i get translated to this lang title widget “Cyfieithu” and options “Gosod fel iaith ddiofyn” a “Golygu Cyfieithu”
ee. for Deutsh > Übersetzung, Als Standard-Sprache
Bearbeiten Übersetzung.
But when i change to Polish (my default lang) this text is in english, not polish.
Why missing widget translation for defalut lang if default is other than english?
#8 gan ofer ar Medi 14, 2010 - 10:51 pm
This will be fixed in the coming version (0.6.4) soon
#9 gan Revonorway ar Medi 20, 2010 - 3:04 pm
Helo, I have a problem with Norwegian nb_NO. The activity in buddypress gets translated only for the first activity, all the other activity stays in english…Unrhyw syniadau?
#10 gan Revonorway ar Medi 20, 2010 - 3:26 pm
I also get a blank page for some of the languages…I can give you access to my private community if you want to check out why?
#11 gan Revonorway ar Medi 20, 2010 - 3:38 pm
Actually it’s the language that don’t have any .mo files. I get a blank page…
#12 gan Revonorway on Medi 22, 2010 - 11:38 am ar
Helo, in the virtual host configuration, my web administrator increased the php_admin_value memory_limit to 128 and now it works… So you were right, it was a memory problem! Thx for your help!
#13 gan ofer on Medi 24, 2010 - 12:53 am ar
Glad I was able to help
#14 gan Revonorway on Medi 24, 2010 - 8:54 am ar
Ydw, thx again!
I still get a problem though, when I have the buddypress language files…In Norwegian for example, only the first activity is translated, the rest is not…unrhyw syniadau??