怎么导入Drupal中文语言包
1. 启用模块
1-1. 通过导航 Administer > Site Building > Modules,或者通过在浏览器输入 http://你的Drupal安装路径/admin/build/modules 地址来访问模块管理页面
1-2. 找到 Locale 模块,勾选前面的复选框,然后到页面最下方点击保存(Save Configuration)按钮
2. 导入中文语言包
2-1. 通过导航 Administer > Site Building > Translate interface,或者访问 admin/build/translate 页面,点击"Import"面板进入导入语言包界面
2-2. 向 Language File 文件框中加入第一步下载下来的 .po 语言包文件,将 Import into 选项设置为“Chinese, Simplified(简体中文)”,点击页面最下方的"Import"按钮
怎么导入Drupal中文语言包
如果安装 Drupal 时没有导入中文语言包,则 Drupal 默认的语言界面是英文,我们可以根据需要导入 Drupal 中文语言包,然后开始使用中文版的 Drupal。
1. 下载中文语言包
访问 http://localize.drupal.org/translate/languages/zh-hans 页面,根据 Drupal 版本类型,下载对应的语言包文件(.po),以备稍后使用
2. 启用模块
2-1. 通过导航 Administer > Site Building > Modules,或者通过在浏览器输入 http://你的Drupal安装路径/admin/build/modules 地址来访问模块管理页面
2-2. 找到 Locale 模块,勾选前面的复选框,然后到页面最下方点击保存(Save Configuration)按钮
3. 导入中文语言包
3-1. 通过导航 Administer > Site Building > Translate interface,或者访问 admin/build/translate 页面,点击"Import"面板进入导入语言包界面
3-2. 向 Language File 文件框中加入第一步下载下来的 .po 语言包文件,将 Import into 选项设置为“Chinese, Simplified(简体中文)”,点击页面最下方的"Import"按钮
4. 将中文设置为默认的界面语言
完成 3-2 步的操作即会返回到翻译界面的概览页面,可点击此页面的 language page 链接,或者通过导航 Administrator > Site Configuraton > Languages 访问"语言设置"页面
在语言设置页面,选中“简体中文”语言项后面的 Default 单选项,点击下面的保存(Save Configuration)按钮
哇啦……之后我们就不用中英结合着来看教程了 :D
不定式,动名词,分词的区别
不定式、动名词、分词的区别:特点不同、用法不同、性质不同一、特点不同1、不定式:动词中的一种不带词形变化从而不指示人称、数量、时态的一种形式。2、动名词:动词ing形式的一种,兼有动词和名词特征的非限定动词。它可以支配宾语,也能被副词修饰。3、分词:具有动词及形容词二者特征的词,表示“主动和进行”。二、用法不同1、不定式:如果动词不定式的逻辑主语是这个不定式所表示的动作的承受者,不定式一般要用被动语态形式。动词不定式作主语时,句子的谓语动词常用单数。2、动名词:动名词做主语时,谓语动词为单数, 在动名词和不定式中,作为介词的宾语是动名词,动名词的否定直接在其前加否定词,通过代词的宾格或所有格形式给出逻辑主语。3、分词:分词作状语时,其逻辑主语应与句中主语相一致。当现在分词表示的动作发生在谓语动词之前时,则用现在分词的完成式,当所表示动作与谓语动作同时发生, 则用现在分词的一般式。完成或被动关系用过去分词。三、性质不同1、不定式:被修饰词之间有动宾关系,同时与句中其它词之间又有逻辑上的主谓关系时,尽管有被动含义,却仍用主动语态;如只有动宾关系,而无逻辑上的主谓关系,则需用被动语态。2、动名词:动名词是在动词原形的词末加-ing,是由动词变化而成的,它们都保留了动词的某些特征,它们都能带自己的宾语、状语,而构成动名词短语或是现在分词短语去担当句子成分。3、分词:单个的分词通常放在被修饰的名词之前,分词短语作定语,置于被修饰词的后面。现在分词修饰的是发出该动作的名词),过去分词修饰承受该动作的名词(即与名词是动宾关系)。
动名词与分词ing形式有和区别
动名词和现在分词:都称作动状词(Verbal),即由动词变化而来,仍然具有动词的性质与原义,但不能作动词使用的词。
动名词与现在分词的区别主要是:-ing形式在句中作定语,它可能是现在分词,也可能是动名词。
区别方法是: 动名词作定语时:说明被修饰的名词的用途(可以用"use for +动名词"这个结构代替),它和所修饰的名词在逻辑上没有主谓关系;现在分词作定语时:表示它所修饰的名词的行为,和它所修饰的名词在逻辑上有主谓关系 (可以扩展为定语从句);
还有一种区别方法是: 如果ing形式相当于一个名词,可以与主语交换位置,它就是动名词。 如果-ing形式相当于 形容词,不能与主语交换位置,它就是现在分词。 a sleeping car=a car usedfor sleeping 一节卧车车厢 (sleeping此处为动名词 ) a sleeping child=a childwho is sleeping 一个睡着的孩子 (sleeping此处为现在分词 )
为什么python没有现成的wordpress那样强大的开源系统
Python 是一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年底发明,第一个公开发行版发行于1991年。Python语法简洁而清晰,具有丰富和强大的类库。它常被昵称为胶水语言,它能够很轻松的把用其他语言制作的各种模块(尤其是C/C )轻松地联结在一起。常见的一种应用情形是,使用Python快速生成程序的原型(有时甚至是程序的最终界面),然后对其中有特别要求的部分,用更合适的语言改写,比如3D游戏中的图形渲染模块,性能要求特别高,就可以用C 重写。由于Python语言的简洁、易读以及可扩展性,在国外用Python做科学计算的研究机构日益增多,一些知名大学已经采窢哗促狙讵缴存斜担铆用Python教授程序设计课程。例如麻省理工学院的计算机科学及编程导论课程就使用Python语言讲授。众多开源的科学计算软件包都提供了Python的调用接口,例如著名的计算机视觉库OpenCV、三维可视化库VTK、医学图像处理库ITK。而Python专用的科学计算扩展库就更多了,例如如下3个十分经典的科学计算扩展库:NumPy、SciPy和matplotlib,它们分别为Python提供了快速数组处理、数值运算以及绘图功能。因此Python语言及其众多的扩展库所构成的开发环境十分适合工程技术、科研人员处理实验数据、制作图表,甚至开发科学计算应用程序
想用python搭 个人博客,有什么类似于wordpress的框架
What is Plone?
A powerful, flexible Content Management Solution that is easy to install, use and extend.
Plone lets non-technical people create and maintain information for a public website or an intranet using only a web browser. Plone is easy to understand and use - allowing users to be productive in just half an hour - yet offers a wealth of community-developed add-ons and extensibility to keep meeting your needs for years to come.
Blending the creativity and speed of open source with a technologically advanced Python back-end, Plone offers superior security without sacrificing power or extensibility.
The Plone community is an incredibly diverse group that bridges many types and sizes of organizations, many countries and languages, and everything from technical novices to hardcore programmers. Out of that diversity comes an attention to detail in code, function, user interface and ease of use that makes Plone one of the top 2% of open source projects worldwide. (Source: Ohloh)
Plone’s intellectual property and trademarks are protected by the non-profit Plone Foundation. This means that Plone’s future is not in the hands of any one person or company.
Thousands of websites across large and small businesses, education, government, non-profits, sciences, media and publishing are using Plone to solve their content management needs. This is supported by a global network of over 300 solution providers in more than 50 countries. Looking for a hosting provider to host your Plone site for you? You can find a list of providers and consultants on plone.org.
We are very proud to be known by the company we keep. Organizations as diverse as NASA, Oxfam, Amnesty International, Nokia, eBay, Novell, the State Universities of Pennsylvania and Utah, as well as the Brazilian and New Zealand governments - all use Plone.
Plone is open on many levels. It runs on Linux, Windows, Mac OS X, FreeBSD and Solaris - and offers a straightforward installation to get you up and running in minutes. It has been translated into more than 40 languages, and is developed with an unflinching emphasis on usability and standards compliance.
Need a CMS that integrates with Active Directory, Salesforce, LDAP, SQL, Web Services. LDAP or Oracle? Plone does. Need to be sure your website is accessible? Plone meets or exceeds US Government 508 and the WCAG 2.0 standards.
Worried about security? As an open source product, a large number of developers frequently scrutinize the code for any potential security issues. This proactive approach is better than the wait-and-see approach in proprietary software that relies on keeping security issues a secret instead of resolving them outright. Based on Python and the Zope libraries, Plone has a technological edge that has helped it attain the best security track record of any major CMS (Source: CVE). In fact, security is a major reason why many CMS users are switching to Plone.
The market is full of open source content management systems, so it is important to do your homework before choosing one for your organization. Remember that a simple CMS may work out great to start with, but lead to problems with scaling or migration when you need more capability than it can provide. At the other end of the spectrum, a powerful CMS can be so difficult to learn and maintain that it never gains acceptance to users. Make sure the CMS you choose meets your needs today without compromising future growth. We hope you’ll take the time to learn more about Plone and what it can do for you. We’ve created this site specifically as a gateway to information on how to get started with Plone, as well as information on development, solutions providers, events, news, and the wealth of product add-ons created by the community.
What does Plone mean? How is it pronounced?
Does the word Plone mean anything, and where does it come from? Why is Plone called Plone?
The word Plone originally comes from the electronic band Plone that used to exist on the Warp record label. The music is playful and minimalistic.
The founders of Plone-the-Software (Alan Runyan and Alexander Limi) were listening to Plone-the-Band when they met (as well as during the initial coding/design of Plone) - and one of the original quotes floating around at the time was that “Plone should look and feel like the band sounds”. Thus, a legend was born. ;)
Plone-the-Band broke up in 2001, but Plone-the-Software lives on.
Plone is pronounced in the same manner as the word “grown”. It is not spelled out when you say it, and is not an abbreviation for anything.