Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » Hungarian translation?
Hungarian translation? [message #53987] Wed, 08 October 2008 13:28 Go to next message
lacka is currently offline lacka
Messages: 2
Registered: July 2009
Junior Member
Hi,

How to translate published EPF pages to hungarian language? I need a
permanent solution, don't want to translate every time I publish...

thanks,
lacka
Re: Hungarian translation? [message #54549 is a reply to message #53987] Wed, 12 November 2008 12:27 Go to previous messageGo to next message
José Lopes Neto is currently offline José Lopes Neto
Messages: 2
Registered: July 2009
Junior Member
I have the same problem, but to translate to Portuguese.

I create a ant file (build.xml) with "replacefilter" commands to translate
the published pages, and every time i publish it, all I have to do is to
run this ant task and it automatically translates the entire site.

You have to be aware that image names and links should not be translated,
so there is a workaround at the end the file to avoid this. Hope this
helps while there is no better solution.

here is a build.xml sample
<project name="project" default="default">
<description>
description
</description>

<!-- =================================
target: default
================================= -->
<target name="default" depends="depends" description="--> description">
<replace dir="." encoding="utf-8">
<include name="**/*.html" />
<include name="**/*.htm" />

<!--
<replacefilter token="" value="" />
-->

<replacefilter token="About" value="Sobre" />
<replacefilter token="Back to top" value="Volta para o topo" />
<replacefilter token="Breakdown Element " value="Componente" />
<replacefilter token="Check Items" value="Itens de Verificação" />
<replacefilter token="Checklists" value="Lista de Verificação" />
<replacefilter token="Collapse All Sections" value="Contrair todos as
áreas" />
<replacefilter token="Contents" value="Conteúdo" />
<replacefilter token="Deliverable" value="Entregas" />
<replacefilter token="Main Description" value="Descrição" />
<replacefilter token="Description" value="Descrição" />
<replacefilter token="Entry State" value="Estado de Entrada" />
<replacefilter token="Event Driven" value="Orientado a Eventos" />
<replacefilter token="Exit State" value="Estado de Saída" />
<replacefilter token="Expand All Sections" value="Expandir todas as
áreas" />
<replacefilter token="Feedback" value="Sua Opinião" />
<replacefilter token="Index" value="Índice" />
<replacefilter token="Model Info" value="Informação sobre o modelo" />
<replacefilter token="More Information" value="Mais informações" />
<replacefilter token="Multiple Occurrences" value="Ocorrências
multiplas" />
<replacefilter token="Ongoing" value="Em andamento" />
<replacefilter token="Optional" value="Opcional" />
<replacefilter token="Parent Activities" value="Atividades pais" />
<replacefilter token="Planned" value="Planejado" />
<replacefilter token="Predecessors" value="Precedentes" />
<replacefilter token="Print" value="Imprimir" />
<replacefilter token="Properties" value="Propriedades" />
<replacefilter token="Relationships" value="Relacionamentos" />
<replacefilter token="Repeatable" value="Repetível" />
<replacefilter token="Steps" value="Passos" />
<replacefilter token="Team Allocation" value="Alocação da Equipe" />
<replacefilter token="Team Breakdown" value="Membros da Equipe" />
<replacefilter token="Team" value="Equipe" />
<replacefilter token="Type Planned" value="Tipo planejado" />
<replacefilter token="Type" value="Tipo" />
<replacefilter token="Where am I" value="Onde estou?" />
<replacefilter token="Work Breakdown Structure" value="Atividades" />
<replacefilter token="Work Product Breakdown" value="Componentes do
entregável" />
<replacefilter token="Work Product Usage" value="Uso dos entregáveis" />
<replacefilter token="Tree Sets" value="Árvores" />
<replacefilter token="Glossary" value="Glossário" />
<replacefilter token="Activities" value="Atividades" />
<replacefilter token="Tasks" value="Tarefas" />
<replacefilter token="Relationships" value="Relacionamentos" />
<replacefilter token="Relationship" value="Relacionamento" />
<replacefilter token="Collapse All" value="Contrair todos" />
<replacefilter token="Expand All" value="Expandir todas" />
<replacefilter token="Work Breakdown" value="Atividades" />
<replacefilter token="Workflow" value="Fluxo de Trabalho" />

<replacefilter token="Responsible for:" value="Responsável por:" />
<replacefilter token="Modifies:" value="Modifica:" />
<replacefilter token="Role Sets:" value="Agrupamento" />
<replacefilter token="Artifact:" value="Entregável:" />
<replacefilter token="Related Elements" value="Elementos Relacionados"
/>
<replacefilter token="Process Usage" value="Uso do Processo" />
<replacefilter token="Primarily Performs" value="Responsabilidades
Principais" />
<replacefilter token="Additionally Performs" value="Responsabilidades
Adicionais" />
<replacefilter token="Responsible For" value="Responsável por" />
<replacefilter token="Output from" value="Saida de" />
<replacefilter token="Responsible Roles" value="Papéis Responsáveis" />
<replacefilter token="Responsible Role" value="Papél Responsável" />
<replacefilter token="Performing Roles" value="Papéis que executam" />
<replacefilter token="Output Work Products" value="Saidas" />
<replacefilter token="Additionally Performs:" value="Também Executa:" />
<replacefilter token="Performs:" value="Executa:" />
<replacefilter token="Summary:" value="Sumário:" />
<replacefilter token="Delivery Process:" value="Processo de Entrega:" />
<replacefilter token="Guidance" value="Guias" />
<replacefilter token="Responsible:" value="Responsável:" />
<replacefilter token="Modified By:" value="Modificado por:" />
<replacefilter token="Work Product Kinds" value="Tipos de Entregáveis"
/>
<replacefilter token="Input To:" value="Entrada para:" />
<replacefilter token="Output From:" value="Saida de:" />
<replacefilter token="Primary Performer:" value="Executante Principal"
/>
<replacefilter token="Additional Performers:" value="Executantes
Adicionais" />
<replacefilter token="Outcome:" value="Saídas:" />
<replacefilter token="Modifies" value="Modifica" />



<replacefilter token="Activity." value="Act##ivity." />
<replacefilter token="_Activity" value="_Act##ivity" />

<replacefilter token="Task." value="Ta##sk." />
<replacefilter token="_Task" value="_Ta##sk" />

<replacefilter token="Roles." value="Ro###les." />
<replacefilter token="_Roles" value="_Ro###les" />

<replacefilter token="Role." value="Ro##le." />
<replacefilter token="_Role" value="_Ro##le" />

<replacefilter token="Activity" value="Atividade" />
<replacefilter token="Task" value="Tarefa" />
<replacefilter token="Role" value="Papel" />
<replacefilter token="Roles" value="Papéis" />

<replacefilter token="Act##ivity." value="Activity." />
<replacefilter token="_Act##ivity" value="_Activity" />

<replacefilter token="Ta##sk." value="Task." />
<replacefilter token="_Ta##sk" value="_Task" />

<replacefilter token="Ro##le." value="Role." />
<replacefilter token="_Ro##le" value="_Role" />

<replacefilter token="Ro###les." value="Roles." />
<replacefilter token="_Ro###les" value="_Roles" />

</replace>

<replace dir="." encoding="utf-8">
<include name="**/*.js" />
<replacefilter token="Back to top" value="Volta para o topo" />
<replacefilter token="Collapse All Sections" value="Contrair todos as
áreas" />
<replacefilter token="Expand All Sections" value="Expandir todas as
áreas" />
<replacefilter token="Collapse All" value="Contrair todos" />
<replacefilter token="Expand All" value="Expandir todas" />
</replace>

<replace dir="." encoding="utf-8">
<include name="**/default.css" />
<replacefilter token="font-weight: bold;" value="font-weight: normal;"
/>
</replace>

</target>

<!-- - - - - - - - - - - - - - - - - -
target: depends
- - - - - - - - - - - - - - - - - -->
<target name="depends">
</target>



</project>
Re: Hungarian translation? [message #590940 is a reply to message #53987] Wed, 12 November 2008 12:27 Go to previous messageGo to next message
José Lopes Neto is currently offline José Lopes Neto
Messages: 2
Registered: July 2009
Junior Member
I have the same problem, but to translate to Portuguese.

I create a ant file (build.xml) with "replacefilter" commands to translate
the published pages, and every time i publish it, all I have to do is to
run this ant task and it automatically translates the entire site.

You have to be aware that image names and links should not be translated,
so there is a workaround at the end the file to avoid this. Hope this
helps while there is no better solution.

here is a build.xml sample
<project name="project" default="default">
<description>
description
</description>

<!-- =================================
target: default
================================= -->
<target name="default" depends="depends" description="--> description">
<replace dir="." encoding="utf-8">
<include name="**/*.html" />
<include name="**/*.htm" />

<!--
<replacefilter token="" value="" />
-->

<replacefilter token="About" value="Sobre" />
<replacefilter token="Back to top" value="Volta para o topo" />
<replacefilter token="Breakdown Element " value="Componente" />
<replacefilter token="Check Items" value="Itens de Verificação" />
<replacefilter token="Checklists" value="Lista de Verificação" />
<replacefilter token="Collapse All Sections" value="Contrair todos as
áreas" />
<replacefilter token="Contents" value="Conteúdo" />
<replacefilter token="Deliverable" value="Entregas" />
<replacefilter token="Main Description" value="Descrição" />
<replacefilter token="Description" value="Descrição" />
<replacefilter token="Entry State" value="Estado de Entrada" />
<replacefilter token="Event Driven" value="Orientado a Eventos" />
<replacefilter token="Exit State" value="Estado de Saída" />
<replacefilter token="Expand All Sections" value="Expandir todas as
áreas" />
<replacefilter token="Feedback" value="Sua Opinião" />
<replacefilter token="Index" value="Índice" />
<replacefilter token="Model Info" value="Informação sobre o modelo" />
<replacefilter token="More Information" value="Mais informações" />
<replacefilter token="Multiple Occurrences" value="Ocorrências
multiplas" />
<replacefilter token="Ongoing" value="Em andamento" />
<replacefilter token="Optional" value="Opcional" />
<replacefilter token="Parent Activities" value="Atividades pais" />
<replacefilter token="Planned" value="Planejado" />
<replacefilter token="Predecessors" value="Precedentes" />
<replacefilter token="Print" value="Imprimir" />
<replacefilter token="Properties" value="Propriedades" />
<replacefilter token="Relationships" value="Relacionamentos" />
<replacefilter token="Repeatable" value="Repetível" />
<replacefilter token="Steps" value="Passos" />
<replacefilter token="Team Allocation" value="Alocação da Equipe" />
<replacefilter token="Team Breakdown" value="Membros da Equipe" />
<replacefilter token="Team" value="Equipe" />
<replacefilter token="Type Planned" value="Tipo planejado" />
<replacefilter token="Type" value="Tipo" />
<replacefilter token="Where am I" value="Onde estou?" />
<replacefilter token="Work Breakdown Structure" value="Atividades" />
<replacefilter token="Work Product Breakdown" value="Componentes do
entregável" />
<replacefilter token="Work Product Usage" value="Uso dos entregáveis" />
<replacefilter token="Tree Sets" value="Árvores" />
<replacefilter token="Glossary" value="Glossário" />
<replacefilter token="Activities" value="Atividades" />
<replacefilter token="Tasks" value="Tarefas" />
<replacefilter token="Relationships" value="Relacionamentos" />
<replacefilter token="Relationship" value="Relacionamento" />
<replacefilter token="Collapse All" value="Contrair todos" />
<replacefilter token="Expand All" value="Expandir todas" />
<replacefilter token="Work Breakdown" value="Atividades" />
<replacefilter token="Workflow" value="Fluxo de Trabalho" />

<replacefilter token="Responsible for:" value="Responsável por:" />
<replacefilter token="Modifies:" value="Modifica:" />
<replacefilter token="Role Sets:" value="Agrupamento" />
<replacefilter token="Artifact:" value="Entregável:" />
<replacefilter token="Related Elements" value="Elementos Relacionados"
/>
<replacefilter token="Process Usage" value="Uso do Processo" />
<replacefilter token="Primarily Performs" value="Responsabilidades
Principais" />
<replacefilter token="Additionally Performs" value="Responsabilidades
Adicionais" />
<replacefilter token="Responsible For" value="Responsável por" />
<replacefilter token="Output from" value="Saida de" />
<replacefilter token="Responsible Roles" value="Papéis Responsáveis" />
<replacefilter token="Responsible Role" value="Papél Responsável" />
<replacefilter token="Performing Roles" value="Papéis que executam" />
<replacefilter token="Output Work Products" value="Saidas" />
<replacefilter token="Additionally Performs:" value="Também Executa:" />
<replacefilter token="Performs:" value="Executa:" />
<replacefilter token="Summary:" value="Sumário:" />
<replacefilter token="Delivery Process:" value="Processo de Entrega:" />
<replacefilter token="Guidance" value="Guias" />
<replacefilter token="Responsible:" value="Responsável:" />
<replacefilter token="Modified By:" value="Modificado por:" />
<replacefilter token="Work Product Kinds" value="Tipos de Entregáveis"
/>
<replacefilter token="Input To:" value="Entrada para:" />
<replacefilter token="Output From:" value="Saida de:" />
<replacefilter token="Primary Performer:" value="Executante Principal"
/>
<replacefilter token="Additional Performers:" value="Executantes
Adicionais" />
<replacefilter token="Outcome:" value="Saídas:" />
<replacefilter token="Modifies" value="Modifica" />



<replacefilter token="Activity." value="Act##ivity." />
<replacefilter token="_Activity" value="_Act##ivity" />

<replacefilter token="Task." value="Ta##sk." />
<replacefilter token="_Task" value="_Ta##sk" />

<replacefilter token="Roles." value="Ro###les." />
<replacefilter token="_Roles" value="_Ro###les" />

<replacefilter token="Role." value="Ro##le." />
<replacefilter token="_Role" value="_Ro##le" />

<replacefilter token="Activity" value="Atividade" />
<replacefilter token="Task" value="Tarefa" />
<replacefilter token="Role" value="Papel" />
<replacefilter token="Roles" value="Papéis" />

<replacefilter token="Act##ivity." value="Activity." />
<replacefilter token="_Act##ivity" value="_Activity" />

<replacefilter token="Ta##sk." value="Task." />
<replacefilter token="_Ta##sk" value="_Task" />

<replacefilter token="Ro##le." value="Role." />
<replacefilter token="_Ro##le" value="_Role" />

<replacefilter token="Ro###les." value="Roles." />
<replacefilter token="_Ro###les" value="_Roles" />

</replace>

<replace dir="." encoding="utf-8">
<include name="**/*.js" />
<replacefilter token="Back to top" value="Volta para o topo" />
<replacefilter token="Collapse All Sections" value="Contrair todos as
áreas" />
<replacefilter token="Expand All Sections" value="Expandir todas as
áreas" />
<replacefilter token="Collapse All" value="Contrair todos" />
<replacefilter token="Expand All" value="Expandir todas" />
</replace>

<replace dir="." encoding="utf-8">
<include name="**/default.css" />
<replacefilter token="font-weight: bold;" value="font-weight: normal;"
/>
</replace>

</target>

<!-- - - - - - - - - - - - - - - - - -
target: depends
- - - - - - - - - - - - - - - - - -->
<target name="depends">
</target>



</project>
Re: Hungarian translation? [message #683809 is a reply to message #590940] Tue, 14 June 2011 13:10 Go to previous messageGo to next message
Tarcisio Pereira is currently offline Tarcisio Pereira
Messages: 10
Registered: April 2011
Location: Brazil
Junior Member
José Neto,

Já existe o NLS Pack que é um pacote de traduação, porém ele está desatualizado e faz muitas traduções para termos que não são ideais.

Gostaria de saber como exatamente você fez o xml e como faz para traduzir após feita a publicação.

Muito obrigado.
Re: Hungarian translation? [message #683875 is a reply to message #683809] Tue, 14 June 2011 15:13 Go to previous message
Tarcisio Pereira is currently offline Tarcisio Pereira
Messages: 10
Registered: April 2011
Location: Brazil
Junior Member
José Neto, consegui entender ant task e criar meu próprio xml aqui e funcionou. Foi com base no seu código e alguns estudos. Muito obrigado. E caso alguém se interesse, posso compartilhar algum material ou informação.

Abraços.
Previous Topic:Localization EPFC 1.5.1.1
Next Topic:EPF 1.5.1.2 or 1.5.1.1 in Portuguese (Brazil) ?
Goto Forum:
  


Current Time: Thu Oct 02 16:39:28 GMT 2014

Powered by FUDForum. Page generated in 0.02119 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software