<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../../User_Guide.ent">
%BOOK_ENTITIES;
]>
<section id="sect-User_Guide-Internationalization_Portlet">
	<!--    

    Copyright (C) 2009 eXo Platform SAS.
    
    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.
    
    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.
    
    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

    --><title>Internationalization Portlet</title>
	<para>
		This portlet is used to define a word or a phrase of the current language in another language.
	</para>
	<mediaobject>
		<imageobject>
			<imagedata fileref="images/Inter2.png" format="PNG" width="444" />
		</imageobject>
	</mediaobject>
	<para>
		Each resource supports a language. You can define a word or a phrase according to the supported language.
	</para>

	<section id="sect-User_Guide-Internationalization_Portlet-Add_a_new_Resource">
		<title>Add a new Resource</title>
		<procedure>
			<step>
				<para>
					Select the <emphasis role="bold">New Resource</emphasis> button in the <emphasis role="bold">Internationalization Portlet</emphasis> form. The <emphasis role="bold">Resource Data</emphasis> form will appear:
				</para>
				<mediaobject>
					<imageobject>
						<imagedata fileref="images/ResourceData1.png" format="PNG" width="444" />
					</imageobject>
				</mediaobject>
				<variablelist>
					<varlistentry>
					<term>Name</term>
						<listitem>
							<para>
								The name of Resource. This field is required.
							</para>
						</listitem>
					</varlistentry>
					<varlistentry>
					<term>Language</term>
						<listitem>
						<para>
							The language that this resource will support. This field is required.
						</para>
						</listitem>
					</varlistentry>
					<varlistentry>
					<term>Resource</term>
						<listitem>
						<para>
							The word or the phrase which you want to define.
						</para>
						</listitem>
					</varlistentry>
				</variablelist>
			</step>
			<step>
				<para>
					Enter values into required fields.
				</para>
			</step>
			<step>
				<para>
					Click the <emphasis role="bold">Save</emphasis> button to accept adding a new resource or the <emphasis role="bold">Cancel</emphasis> button to quit.
				</para>
			</step>
		</procedure>
	</section>
	
	<section id="sect-User_Guide-Internationalization_Portlet-View_and_Edit_a_Resource">
		<title>View and Edit a Resource</title>
		<para>
			Click the 'find' icon corresponding to the resource which you want to view. On the view form, you also can edit information by clicking the <emphasis role="bold">Edit</emphasis> button. You can only edit the <emphasis role="bold">Resource</emphasis> field.
		</para>
		<para>
			Click the <emphasis role="bold">Save</emphasis> button to submit your changes or click the <emphasis role="bold">Cancel</emphasis> button to quit without saving any changes.
		</para>
		<mediaobject>
			<imageobject>
				<imagedata fileref="images/Resource2.png" format="PNG" width="444" />
			</imageobject>
		</mediaobject>
	</section>
	
	<section id="sect-User_Guide-Internationalization_Portlet-Delete_a_Resource">
		<title>Delete a Resource</title>
		<para>
			Click the trash can icon corresponding to the resource which you want to delete. When prompted by the confirmation message, click the <emphasis role="bold">OK</emphasis> button to confirm the deletion or the <emphasis role="bold">Cancel</emphasis> button to quit.
		</para>
	</section>
	
	<section id="sect-User_Guide-Internationalization_Portlet-Search_a_Resource">
		<title>Search a Resource</title>
		<para>
			The <emphasis role="bold">Search Resource</emphasis> form displays directly on the portlet.
		</para>
		<mediaobject>
			<imageobject>
				<imagedata fileref="images/Resource3.png" format="PNG" width="444" />
			</imageobject>
		</mediaobject>
		<para>
			Enter the name of the resource which you want to search and select the supported language. Click the <emphasis role="bold">Search</emphasis> button to perform the search and display a list of the matching Resources.
		</para>
	</section>

</section>


