[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: automatic importing of pot files
From: Mohammad Reza Mirdamadi <mohi.pub () gmail ! com>
Date: 2013-01-10 22:11:25
Message-ID: 2767607.37SpUtOMTa () mohi-lap
[Download RAW message or body]
On Thursday, January 10, 2013 11:48:49 PM Marek Laane wrote:
2013/1/10 Freek de Kruijf <f.de.kruijf@gmail.com>
Op vrijdag 11 januari 2013 00:14:33 schreef Mohammad Reza Mirdamadi:
> thanks Yuri,
>
> then how can I make "red" files being created there automatically from
> template forlder on server? ;-)
>
> --
> Regards,
> Mohamad Reza Mirdamadi
Besides the "svn checkout" for your language in a folder ....<some_folder>/,
you also do a "svn checkout" for templates and later of course regularly an
"svn update" for both. In the folder templates you will find the pot files.
In Project -> Configure project -> General you must enter in Root folder the
path to folder which ends with your language code so
....<some_foldername>/<language_code>
In Project -> Configure project -> Advanced you enter in "Templates files
folder" ....<some_foldername>/templates
When you have that you will see black flags in front of po file names when
there is no po file and only a pot file is present in a sub folder of
templates.
You can use <Ctrl>+<Arrow_Down> to go to an non existing po file. However if
the folder in which po files should be present does not exist yet, you have to
create that folder by hand. After that you may have to restart lokalize to
make that folder visible.
For each new file or folder you have to give an "svn add" to be able to upload
that file or folder to the svn server, using "svn commit".
--
fr.gr.
Freek de Kruijf
PS Please do not top post
Hi, Mohammad,
you should probably carefully study KDE translation
howto http://l10n.kde.org/docs/translation-howto/ (in
particular http://l10n.kde.org/docs/translation-
howto/localization.html and http://l10n.kde.org/docs/translation-howto/gui-
translation.html, also appendices) and Lokalize handbook which should give you
enough answers.
(Little remark: contrary to that Freek said I've experienced no need to
restart Lokalize after "svn add [folder]" - Lokalize seems to be quite clever
to recognize additions; the only glitch I've observed is that sometimes it may
not show template folder without translations (i.e. folder in what you haven't
translated no file yet, so consisting only templates); in that case you should
open the files from template folder manually, create respective folder in your
language/translation folder and save translated file there).
Marek Laane,
Estonian translator
Thanks guys
The problem here is I have lots of configurations for different methods the
Iranian internet guys filter the internet these years! :D And I lost the recent
working one for this job.
I mean I have to set up all the svn connecting story once again after they
change their method for a new stupid way to filter the internet and that would
always affect the way I connect to kde.
I always used to create from pot manually but this time I was going to make it
trough lokalize to make it faster and it works perfect this way now.
Thank you guys for help :)
--
Regards,
Mohi Mirdamadi
This e-mail has sent via Kontact/Kmail in Kubuntu Linux
Please consider the environment before printing this e-mail.
----------------------------
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Ubuntu'; font-size:9pt; font-weight:400; \
font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On \
Thursday, January 10, 2013 11:48:49 PM Marek Laane wrote:<br /></p> <p style=" \
margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">2013/1/10 Freek de Kruijf \
<<a href="mailto:f.de.kruijf@gmail.com"><span style=" text-decoration: underline; \
color:#0057ae;">f.de.kruijf@gmail.com</span></a>><br /></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:45px; margin-right:40px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Op vrijdag 11 januari 2013 \
00:14:33 schreef Mohammad Reza Mirdamadi:<br /><br />> thanks Yuri,<br />><br \
/>> then how can I make "red" files being created there automatically \
from<br />> template forlder on server? ;-)<br />><br />> --<br />> \
Regards,<br />> Mohamad Reza Mirdamadi<br /><br /><br />Besides the "svn \
checkout" for your language in a folder ....<some_folder>/,<br />you also \
do a "svn checkout" for templates and later of course regularly an<br \
/>"svn update" for both. In the folder templates you will find the pot \
files.<br /><br />In Project -> Configure project -> General you must enter in \
Root folder the<br />path to folder which ends with your language code so<br \
/>....<some_foldername>/<language_code><br /><br />In Project -> \
Configure project -> Advanced you enter in "Templates files<br />folder" \
....<some_foldername>/templates<br /><br />When you have that you will see \
black flags in front of po file names when<br />there is no po file and only a pot \
file is present in a sub folder of<br />templates.<br /><br />You can use \
<Ctrl>+<Arrow_Down> to go to an non existing po file. However if<br />the \
folder in which po files should be present does not exist yet, you have to<br \
/>create that folder by hand. After that you may have to restart lokalize to<br \
/>make that folder visible.<br /><br />For each new file or folder you have to give \
an "svn add" to be able to upload<br />that file or folder to the svn \
server, using "svn commit".<br /><span style=" color:#888888;"><br />--<br \
/></span><a href="http://fr.gr"><span style=" text-decoration: underline; \
color:#0057ae;">fr.gr</span></a><span style=" color:#888888;">.<br /><br />Freek de \
Kruijf<br /></span><br />PS Please do not top post<br /><br /></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi, Mohammad,</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">you should probably carefully \
study KDE translation howto <a \
href="http://l10n.kde.org/docs/translation-howto/"><span style=" text-decoration: \
underline; color:#0057ae;">http://l10n.kde.org/docs/translation-howto/</span></a> (in \
particular <a href="http://l10n.kde.org/docs/translation-howto/localization.html"><span \
style=" text-decoration: underline; \
color:#0057ae;">http://l10n.kde.org/docs/translation-howto/localization.html</span></a> \
and <a href="http://l10n.kde.org/docs/translation-howto/gui-translation.html"><span \
style=" text-decoration: underline; \
color:#0057ae;">http://l10n.kde.org/docs/translation-howto/gui-translation.html</span></a>, \
also appendices) and Lokalize handbook which should give you enough answers.</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">(Little remark: contrary to \
that Freek said I've experienced no need to restart Lokalize after "svn add \
[folder]" - Lokalize seems to be quite clever to recognize additions; the only \
glitch I've observed is that sometimes it may not show template folder without \
translations (i.e. folder in what you haven't translated no file yet, so consisting \
only templates); in that case you should open the files from template folder \
manually, create respective folder in your language/translation folder and save \
translated file there).</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Marek Laane,</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Estonian translator</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"><br /></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"><br /><br />Thanks guys</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">The problem here is I have \
lots of configurations for different methods the Iranian internet guys filter the \
internet these years! :D And I lost the recent working one for this job.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I mean I have to set up all \
the svn connecting story once again after they change their method for a new stupid \
way to filter the internet and that would always affect the way I connect to kde.</p> \
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I always used to create from \
pot manually but this time I was going to make it trough lokalize to make it faster \
and it works perfect this way now.</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; "> </p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">Thank you guys for help :)</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />-- </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" \
color:#1f1c1b;">Regards,</span></p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><span style=" color:#1f1c1b;">Mohi Mirdamadi</span></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" \
color:#1f1c1b;"> </span></p> <hr />
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:7pt; \
color:#1f1c1b;">This e-mail has sent via </span><a \
href="http://kontact.kde.org"><span style=" font-size:7pt; text-decoration: \
underline; color:#0057ae;">Kontact/Kmail</span></a><span style=" font-size:7pt; \
color:#1f1c1b;"> in </span><a href="http://www.kubuntu.org"><span style=" \
font-size:7pt; text-decoration: underline; color:#0057ae;">Kubuntu</span></a><span \
style=" font-size:7pt; color:#1f1c1b;"> </span><a \
href="http://en.wikipedia.org/wiki/GNU_Linux"><span style=" font-size:7pt; \
text-decoration: underline; color:#0057ae;">Linux</span></a></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:7pt; \
color:#1f1c1b;">Please consider the </span><span style=" font-size:7pt; \
color:#008000;">environment</span><span style=" font-size:7pt; color:#1f1c1b;"> \
before printing this e-mail.</span></p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><span style=" color:#1f1c1b;"> </span></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:7pt; \
color:#1f1c1b;">----------------------------</span></p></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic