the documentation translation was dead now?

47 views
Skip to first unread message

jake

unread,
Jun 13, 2012, 9:13:03 PM6/13/12
to smarty-d...@googlegroups.com
hi, 

i had translate the manual to Simplified Chinese ! 

here is the zip file http://www.speedphp.com/cms/zh_CN.zip 

there is the docbook format, who can help to make this chm and pdf? 

why i never receive a response? is there anyone here?

Kristopher Ives

unread,
Jun 14, 2012, 1:21:22 PM6/14/12
to smarty-d...@googlegroups.com
People are here but may not be translators. I am not a translator :( Also the gap between Chinese and English appears to be very large.

--
You received this message because you are subscribed to the Google Groups "Smarty Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/smarty-developers/-/6pEQYDqx8RIJ.
To post to this group, send email to smarty-d...@googlegroups.com.
To unsubscribe from this group, send email to smarty-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/smarty-developers?hl=en.

jake

unread,
Jun 14, 2012, 9:01:39 PM6/14/12
to smarty-d...@googlegroups.com
so? i spend more then six month to translate the manual , and this does not make any sense?

in mainland of China, there were many developers of Smarty, but in the recent years, people says the Smarty is big, heavy, and begin to give up to use Smarty, as an alternative, they directly using the PHP as the template syntax. there is not good for everyone.

i am a fans of Smarty, and i worked for introducing Smarty to our developers, also put it in my PHP framework - SpeedPHP, a famous PHP develope framework in mainland of China.

i like to translate something to Chinese, i also translate the Enterprise Architect to Chinese, one of the powerfull tools for UML. and i think the quality of my translation is good.

please help me to put the Chinses manual on the website, thanks!


在 2012年6月15日星期五UTC+8上午1时21分22秒,Kristopher Ives写道:
People are here but may not be translators. I am not a translator :( Also the gap between Chinese and English appears to be very large.

On Wed, Jun 13, 2012 at 6:13 PM, jake <161...@gmail.com> wrote:
hi, 

i had translate the manual to Simplified Chinese ! 

here is the zip file http://www.speedphp.com/cms/zh_CN.zip 

there is the docbook format, who can help to make this chm and pdf? 

why i never receive a response? is there anyone here?

--
You received this message because you are subscribed to the Google Groups "Smarty Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/smarty-developers/-/6pEQYDqx8RIJ.
To post to this group, send email to smarty-developers@googlegroups.com.
To unsubscribe from this group, send email to smarty-developers+unsubscribe@googlegroups.com.

Monte Ohrt

unread,
Jun 14, 2012, 10:25:51 PM6/14/12
to smarty-d...@googlegroups.com
I'll work on getting it there. The next couple of weeks will be very bad for me, so be patient.

To view this discussion on the web visit https://groups.google.com/d/msg/smarty-developers/-/t49ivmSIEF8J.
To post to this group, send email to smarty-d...@googlegroups.com.
To unsubscribe from this group, send email to smarty-develop...@googlegroups.com.

Monte Ohrt

unread,
Jun 14, 2012, 10:35:46 PM6/14/12
to smarty-d...@googlegroups.com
I just tried to compile the docs, and as I suspected, there are many errors. These errors need to be corrected before it can compile, and before it can be included in the online docs. You can download the distro and try to compile them yourself and fix the problems. The XML files MUST be utf8 encoded, and there MUST be no syntax errors. Here is the error list from the first attempt to compile:

make LANG=zh_CN html
rm -f current_lang
ln -s zh_CN current_lang
sed "s/{DATE}/`date '+%Y-%m-%d'`/" entities/version.ent.in > entities/version.ent
rm -rf manual-zh_CN
/usr/bin/xmlto html \
           -o manual-zh_CN \
           --stringparam use.id.as.filename=1 \
           --stringparam chunker.output.encoding='UTF-8' \
           --stringparam chunker.output.indent='yes' \
           -x /usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl \
           manual.xml
xmlto: /home/mohrt/www/Smarty3Dev/documentation/manual.xml does not validate (status 1)
xmlto: Fix document syntax or use --skip-validation option
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-basic-syntax/language-syntax-functions.xml:7: parser error : Opening and ending tag mismatch: para line 5 and link
 link linkend="language.variables">变量</link>或者调用
                                                ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-basic-syntax/language-syntax-functions.xml:12: parser error : Opening and ending tag mismatch: sect1 line 3 and para
 </para>
        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-basic-syntax/language-syntax-functions.xml:60: parser error : chunk is not well balanced
</sect1>
^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-basic-syntax/language-syntax-functions.xml:60: parser error : chunk is not well balanced
</sect1>
^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-basic-syntax.xml:18: parser error : Failure to process entity designers.language-basic-syntax.language-syntax-functions
 &designers.language-basic-syntax.language-syntax-functions;
                                                            ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-basic-syntax.xml:18: parser error : Entity 'designers.language-basic-syntax.language-syntax-functions' not defined
 &designers.language-basic-syntax.language-syntax-functions;
                                                            ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-basic-syntax.xml:45: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:41: parser error : Failure to process entity designers.language-basic-syntax
  &designers.language-basic-syntax;
                                   ^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:41: parser error : Entity 'designers.language-basic-syntax' not defined
  &designers.language-basic-syntax;
                                   ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-modifiers/language-modifier-strip.xml:13: parser error : Opening and ending tag mismatch: para line 10 and link
    linkend="language.function.strip"><varname>{strip}</varname></link> 函数?
                                                                       ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-modifiers/language-modifier-strip.xml:14: parser error : Opening and ending tag mismatch: note line 8 and para
   </para>
          ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-modifiers/language-modifier-strip.xml:15: parser error : Opening and ending tag mismatch: sect1 line 3 and note
  </note>
         ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-modifiers/language-modifier-strip.xml:55: parser error : chunk is not well balanced
</sect1>
^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-modifiers/language-modifier-strip.xml:55: parser error : chunk is not well balanced
</sect1>
^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-modifiers.xml:131: parser error : Failure to process entity designers.language-modifiers.language-modifier-strip
 &designers.language-modifiers.language-modifier-strip;
                                                       ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-modifiers.xml:131: parser error : Entity 'designers.language-modifiers.language-modifier-strip' not defined
 &designers.language-modifiers.language-modifier-strip;
                                                       ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-modifiers.xml:161: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:43: parser error : Failure to process entity designers.language-modifiers
  &designers.language-modifiers;
                                ^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:43: parser error : Entity 'designers.language-modifiers' not defined
  &designers.language-modifiers;
                                ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-builtin-functions/language-function-block.xml:257: parser error : Opening and ending tag mismatch: para line 9 and sect1
</sect1>
        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-builtin-functions/language-function-block.xml:279: parser error : Premature end of data in tag sect1 line 3

^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-builtin-functions/language-function-block.xml:279: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-builtin-functions.xml:25: parser error : Failure to process entity designers.language-builtin-functions.language-function-block
 &designers.language-builtin-functions.language-function-block;
                                                               ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-builtin-functions.xml:25: parser error : Entity 'designers.language-builtin-functions.language-function-block' not defined
 &designers.language-builtin-functions.language-function-block;
                                                               ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/language-builtin-functions.xml:68: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:45: parser error : Failure to process entity designers.language-builtin-functions
  &designers.language-builtin-functions;
                                        ^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:45: parser error : Entity 'designers.language-builtin-functions' not defined
  &designers.language-builtin-functions;
                                        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/chapter-debugging-console.xml:16: parser error : Opening and ending tag mismatch: para line 12 and link
  <parameter>$debug_tpl</parameter></link>指向
                                          ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/chapter-debugging-console.xml:20: parser error : Opening and ending tag mismatch: chapter line 3 and para
</para>
      ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/chapter-debugging-console.xml:42: parser error : Opening and ending tag mismatch: link line 38 and para
  </para>
         ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/chapter-debugging-console.xml:43: parser error : Opening and ending tag mismatch: para line 35 and note
 </note>
        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/chapter-debugging-console.xml:53: parser error : Opening and ending tag mismatch: note line 33 and chapter
</chapter>
          ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/designers/chapter-debugging-console.xml:77: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:48: parser error : Failure to process entity designers.chapter-debugging-console
  &designers.chapter-debugging-console;
                                       ^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:48: parser error : Entity 'designers.chapter-debugging-console' not defined
  &designers.chapter-debugging-console;
                                       ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/api-variables/variable-default-config-type.xml:12: parser error : Opening and ending tag mismatch: para line 5 and sect1
</sect1>
        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/api-variables/variable-default-config-type.xml:32: parser error : Premature end of data in tag sect1 line 3
-->
   ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/api-variables/variable-default-config-type.xml:32: parser error : chunk is not well balanced
-->
   ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/api-variables.xml:44: parser error : Failure to process entity programmers.api-variables.variable-default-config-type
&programmers.api-variables.variable-default-config-type;
                                                        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/api-variables.xml:44: parser error : Entity 'programmers.api-variables.variable-default-config-type' not defined
&programmers.api-variables.variable-default-config-type;
                                                        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/api-variables.xml:86: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:56: parser error : Failure to process entity programmers.api-variables
  &programmers.api-variables;
                             ^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:56: parser error : Entity 'programmers.api-variables' not defined
  &programmers.api-variables;
                             ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/resources/resources-file.xml:21: parser error : Opening and ending tag mismatch: link line 18 and para
  </para>
         ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/resources/resources-file.xml:22: parser error : Opening and ending tag mismatch: para line 16 and note
 </note>
        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/resources/resources-file.xml:183: parser error : Opening and ending tag mismatch: note line 14 and sect1
</sect1>
        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/resources/resources-file.xml:205: parser error : Premature end of data in tag sect1 line 3

^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/resources/resources-file.xml:205: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/resources.xml:14: parser error : Failure to process entity programmers.resources.resources-file
&programmers.resources.resources-file;
                                      ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/resources.xml:14: parser error : Entity 'programmers.resources.resources-file' not defined
&programmers.resources.resources-file;
                                      ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/resources.xml:40: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:59: parser error : Failure to process entity programmers.resources
  &programmers.resources;
                         ^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:59: parser error : Entity 'programmers.resources' not defined
  &programmers.resources;
                         ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/advanced-features/advanced-features-template-inheritance.xml:115: parser error : Opening and ending tag mismatch: link line 114 and para
    </para>
           ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/advanced-features/advanced-features-template-inheritance.xml:126: parser error : Opening and ending tag mismatch: para line 111 and example
  </example>
            ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/advanced-features/advanced-features-template-inheritance.xml:133: parser error : Opening and ending tag mismatch: example line 109 and sect1
</sect1>
        ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/advanced-features/advanced-features-template-inheritance.xml:155: parser error : Premature end of data in tag sect1 line 3

^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/advanced-features/advanced-features-template-inheritance.xml:155: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/advanced-features.xml:7: parser error : Failure to process entity programmers.advanced-features.advanced-features-template-inheritance
&programmers.advanced-features.advanced-features-template-inheritance;
                                                                      ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/advanced-features.xml:7: parser error : Entity 'programmers.advanced-features.advanced-features-template-inheritance' not defined
&programmers.advanced-features.advanced-features-template-inheritance;
                                                                      ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/programmers/advanced-features.xml:35: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:60: parser error : Failure to process entity programmers.advanced-features
  &programmers.advanced-features;
                                 ^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:60: parser error : Entity 'programmers.advanced-features' not defined
  &programmers.advanced-features;
                                 ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/appendixes/tips.xml:51: parser error : Opening and ending tag mismatch: link line 49 and para
   </para>
          ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/appendixes/tips.xml:68: parser error : Opening and ending tag mismatch: para line 48 and sect1
  </sect1>
          ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/appendixes/tips.xml:186: parser error : Opening and ending tag mismatch: para line 185 and link
   当在模板内使用<varname>{html_select_date}</varname></link>,
                                                                    ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/appendixes/tips.xml:188: parser error : Opening and ending tag mismatch: sect1 line 138 and para
   </para>
          ^
/home/mohrt/www/Smarty3Dev/documentation/current_lang/appendixes/tips.xml:415: parser error : chunk is not well balanced

^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:68: parser error : Failure to process entity appendixes.tips
 &appendixes.tips;
                  ^
/home/mohrt/www/Smarty3Dev/documentation/manual.xml:68: parser error : Entity 'appendixes.tips' not defined
 &appendixes.tips;
                  ^
make: *** [html] Error 11





On Jun 14, 2012, at 8:01 PM, jake wrote:

jake

unread,
Jun 14, 2012, 10:41:32 PM6/14/12
to smarty-d...@googlegroups.com
OK, i will fix the problem. and renew the xml file in next week.

在 2012年6月15日星期五UTC+8上午10时35分46秒,Monte Ohrt写道:

jake

unread,
Jun 15, 2012, 10:24:52 PM6/15/12
to smarty-d...@googlegroups.com
the new xml file address http://www.speedphp.com/cms/zh_CN-06162.zip

i had fixed the problem and compile passed! 

在 2012年6月15日星期五UTC+8上午10时41分32秒,jake写道:

jake

unread,
Jun 25, 2012, 5:03:10 AM6/25/12
to smarty-d...@googlegroups.com
hello ?

在 2012年6月16日星期六UTC+8上午10时24分52秒,jake写道:

Monte Ohrt

unread,
Jun 25, 2012, 10:59:54 AM6/25/12
to smarty-d...@googlegroups.com
I'm out of town until next week, I will take a look then.

--
You received this message because you are subscribed to the Google Groups "Smarty Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/smarty-developers/-/qdWw5vEO6kkJ.
To post to this group, send email to smarty-d...@googlegroups.com.
To unsubscribe from this group, send email to smarty-develop...@googlegroups.com.

Monte Ohrt

unread,
Jun 28, 2012, 8:55:55 PM6/28/12
to smarty-d...@googlegroups.com
Chinese documentation is live on the site. Let me know if it all looks ok, I'll make an announcement.


Monte

On Jun 25, 2012, at 2:03 AM, jake wrote:

--
You received this message because you are subscribed to the Google Groups "Smarty Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/smarty-developers/-/qdWw5vEO6kkJ.
To post to this group, send email to smarty-d...@googlegroups.com.
To unsubscribe from this group, send email to smarty-develop...@googlegroups.com.

jake

unread,
Jun 28, 2012, 9:09:07 PM6/28/12
to smarty-d...@googlegroups.com
i have no idea in which file i can change the words :
 
 II. Smarty For Template Designers
 III. Smarty For Programmers

i looks not good enough. 

在 2012年6月29日星期五UTC+8上午8时55分55秒,Monte Ohrt写道:
To post to this group, send email to smarty-developers@googlegroups.com.
To unsubscribe from this group, send email to smarty-developers+unsubscribe@googlegroups.com.

jake

unread,
Jun 28, 2012, 9:42:11 PM6/28/12
to smarty-d...@googlegroups.com
and i lost some work at the preface.xml , so ,i must rework on the file at this weekend, then i will upload the zip .

then you can  make the announcement. 

thanks.

在 2012年6月29日星期五UTC+8上午9时09分07秒,jake写道:

jake

unread,
Jun 30, 2012, 12:18:26 AM6/30/12
to smarty-d...@googlegroups.com
hi, i had finished the work for the translate, now it is the prefect version, you can look for this and  make the announcement.



在 2012年6月29日星期五UTC+8上午8时55分55秒,Monte Ohrt写道:
To post to this group, send email to smarty-developers@googlegroups.com.
To unsubscribe from this group, send email to smarty-developers+unsubscribe@googlegroups.com.

Monte Ohrt

unread,
Jun 30, 2012, 5:30:22 PM6/30/12
to smarty-d...@googlegroups.com
Announcement is made. Thanks jake!

To view this discussion on the web visit https://groups.google.com/d/msg/smarty-developers/-/Ry875BiPOm0J.
To post to this group, send email to smarty-d...@googlegroups.com.
To unsubscribe from this group, send email to smarty-develop...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages