<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ZNJACK Prestashop &#38; PHP Architect &#187; 翻译</title>
	<atom:link href="http://www.znjack.com/tag/%e7%bf%bb%e8%af%91/feed" rel="self" type="application/rss+xml" />
	<link>http://www.znjack.com</link>
	<description>The software architect is the technical driving force behind the project, not a visionary or dreamer.</description>
	<lastBuildDate>Mon, 05 Sep 2011 05:08:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>怎样为prestashop做翻译</title>
		<link>http://www.znjack.com/%e6%80%8e%e6%a0%b7%e4%b8%baprestashop%e5%81%9a%e7%bf%bb%e8%af%91.html,95</link>
		<comments>http://www.znjack.com/%e6%80%8e%e6%a0%b7%e4%b8%baprestashop%e5%81%9a%e7%bf%bb%e8%af%91.html,95#comments</comments>
		<pubDate>Tue, 09 Mar 2010 14:51:47 +0000</pubDate>
		<dc:creator>znjack</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[prestashop]]></category>
		<category><![CDATA[翻译]]></category>

		<guid isPermaLink="false">http://www.znjack.com/?p=95</guid>
		<description><![CDATA[现在prestashop已经有了中文翻译，感谢为此付出的各位同胞。 如果你新建了一个模块，或者在模板中添加了一个新的显示文字，这时候就需要做新的翻译了。 模块的翻译在modules每个模块单独的目录下面，模板的翻译在theme模板名称文件夹下lang文件夹下。 我们以themes\prestashop\lang的cn.php为例，如果你安装了中文语言，就会有这个文件。 打开文件，我们可以看到类似这样的 $_LANG['address_3908e1afa0ff22fbf112aff3c5ba55c1'] = &#8216;您的地址&#8217;; 这里数组的key中的address表示这是模板address页面的翻译，下划线后面的是一组md5字符，是对于模板中关键字的md5加密后的值。 比如你新建了一个关键字{l s=&#8217;Your addresses&#8217;}，这里的值就是md5(&#8216;Your addresses&#8217;) = 3908e1afa0ff22fbf112aff3c5ba55c1 希望这篇文章能对需要的人有所帮助。谢谢。]]></description>
			<content:encoded><![CDATA[<p>现在prestashop已经有了中文翻译，感谢为此付出的各位同胞。</p>
<p>如果你新建了一个模块，或者在模板中添加了一个新的显示文字，这时候就需要做新的翻译了。</p>
<p>模块的翻译在modules每个模块单独的目录下面，模板的翻译在theme模板名称文件夹下lang文件夹下。</p>
<p>我们以themes\prestashop\lang的cn.php为例，如果你安装了中文语言，就会有这个文件。</p>
<p>打开文件，我们可以看到类似这样的</p>
<p>$_LANG['address_3908e1afa0ff22fbf112aff3c5ba55c1'] = &#8216;您的地址&#8217;;</p>
<p>这里数组的key中的address表示这是模板address页面的翻译，下划线后面的是一组md5字符，是对于模板中关键字的md5加密后的值。</p>
<p>比如你新建了一个关键字{l s=&#8217;Your addresses&#8217;}，这里的值就是md5(&#8216;Your addresses&#8217;) = 3908e1afa0ff22fbf112aff3c5ba55c1</p>
<p>希望这篇文章能对需要的人有所帮助。谢谢。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.znjack.com/%e6%80%8e%e6%a0%b7%e4%b8%baprestashop%e5%81%9a%e7%bf%bb%e8%af%91.html,95/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

