Re: [libreoffice-l10n] How to compile language pack only with files from pootle?

2018-03-23 Thread Krunose

On 23.03.2018 17:22, Jihui Choi wrote:

Hi Martin.

On Thu, Mar 22, 2018 at 5:44 PM, Martin Srebotnjak  wrote:

Also, the instructions are not clear about messages.po file names. Current
po file have some name messages.po and others not (like the files in the
dictionaries folder or the officecfg folder). So are you referring to
pre-6.0 po files (no renaming needed, use step 4) and post-5.4 po-files
(use step 5)?

on Pootle
1) some files has the names as messages.po
2) some others has different names.

It has to be treated differently.(I don't know why though)
So..

step 3 is for 1) case
step 5 is for 2) case

I'm not an expert but it works for me(thanks to Kiyotaka). Good luck.


That means that when I extract .po files to 'translations' folder in 
source tree, I need to check if .po files in individual directory is 
named 'messages.po' or differently.


If name is 'messages.po' then command

    msgfmt -o instdir/program/resource//LC_MESSAGES/ 
/messages.po


needs to be run in that particular directory on right side of the table 
in Wiki page by replacing '' in command with information from 
left side of the table on Wiki page?


After dealing with renaming, command

    make build-l10n-only

needs to be run?

If I'm right, then all what's needed is to switch places of fourth and 
fifth step (and simplify instructions).


Can you, please, confirm this?


Thanks,

Kruno
||



--
Regards,
Jihui Choi

On Thu, Mar 22, 2018 at 5:44 PM, Martin Srebotnjak  wrote:

Hi,

is there a way to use the already built version (like a master daily build)
and just build the lang-pack without the need of pulling and building the
whole package?

Also, the instructions are not clear about messages.po file names. Current
po file have some name messages.po and others not (like the files in the
dictionaries folder or the officecfg folder). So are you referring to
pre-6.0 po files (no renaming needed, use step 4) and post-5.4 po-files
(use step 5)?

Also, could you publish a rename/move script for all ui and help po files
of the current 6.0 and master tree?

Thanks, m.

2018-03-21 23:07 GMT+01:00 Krunose :


On 21.03.2018 17:21, Jihui Choi wrote:


Hi, Kruno.

Please add this as well.

For local Help pack,

in step 2,
$ ./autogen.sh --with-help --with-lang="ko"

in step 3,
(for Help)
$ \cp -fR ko/libo_help/* libreoffice/translations/sourc
e/ko/helpcontent2/source/text/
$ \mv libreoffice/translations/source/ko/helpcontent2/source/text/auxiliary.po
libreoffice/translations/source/ko/helpcontent2/source/

Thanks.



Hi,

I finally added everything to

https://wiki.documentfoundation.org/Development/BuildingOnLinux#Building_
translated_user_interface_with_.po_files_from_Pootle

could Kiyotaka and you check everything. I'll edit if needed.

Thanks,
Kruno





--
Regards,
Jihui Choi

On Tue, Mar 20, 2018 at 6:37 PM, Krunose  wrote:



 On 20.03.2018 10:24, Heiko Tietze wrote:

 On 20.03.2018 07:56, Krunose wrote:

 On 20.03.2018 07:54, Krunose wrote:

 On 16.03.2018 09:07, Jihui Choi wrote:

 Hi, Kiyotaka Nishibori

 I followed your instructions.
 It works well. Now I can check my translations in
 few mins.

 ...
 Think that shouldn't that be added to

 Wanted to say 'Shouldn't that be added to [...]'

 You are welcome to edit the page. :-)


 Will do later today.

 Kruno



 -- To unsubscribe e-mail to: l10n+unsubscribe@global.libreo
ffice.org
 
 Problems?
 https://www.libreoffice.org/get-help/mailing-lists/how-to-un
subscribe/
 
 Posting guidelines + more:
 https://wiki.documentfoundation.org/Netiquette
 
 List archive: https://listarchives.libreoffice.org/global/l10n/
 
 All messages sent to this list will be publicly archived and
 cannot be deleted




--
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-un
subscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be
deleted


--
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted



--
To unsubscribe e-mail to: 

Re: [libreoffice-l10n] How to compile language pack only with files from pootle?

2018-03-23 Thread Jihui Choi
Hi Martin.

On Thu, Mar 22, 2018 at 5:44 PM, Martin Srebotnjak  wrote:
>
> Also, the instructions are not clear about messages.po file names. Current
> po file have some name messages.po and others not (like the files in the
> dictionaries folder or the officecfg folder). So are you referring to
> pre-6.0 po files (no renaming needed, use step 4) and post-5.4 po-files
> (use step 5)?

on Pootle
1) some files has the names as messages.po
2) some others has different names.

It has to be treated differently.(I don't know why though)
So..

step 3 is for 1) case
step 5 is for 2) case

I'm not an expert but it works for me(thanks to Kiyotaka). Good luck.

--
Regards,
Jihui Choi

On Thu, Mar 22, 2018 at 5:44 PM, Martin Srebotnjak  wrote:
>
> Hi,
>
> is there a way to use the already built version (like a master daily build)
> and just build the lang-pack without the need of pulling and building the
> whole package?
>
> Also, the instructions are not clear about messages.po file names. Current
> po file have some name messages.po and others not (like the files in the
> dictionaries folder or the officecfg folder). So are you referring to
> pre-6.0 po files (no renaming needed, use step 4) and post-5.4 po-files
> (use step 5)?
>
> Also, could you publish a rename/move script for all ui and help po files
> of the current 6.0 and master tree?
>
> Thanks, m.
>
> 2018-03-21 23:07 GMT+01:00 Krunose :
>
> > On 21.03.2018 17:21, Jihui Choi wrote:
> >
> >> Hi, Kruno.
> >>
> >> Please add this as well.
> >>
> >> For local Help pack,
> >>
> >> in step 2,
> >> $ ./autogen.sh --with-help --with-lang="ko"
> >>
> >> in step 3,
> >> (for Help)
> >> $ \cp -fR ko/libo_help/* libreoffice/translations/sourc
> >> e/ko/helpcontent2/source/text/
> >> $ \mv 
> >> libreoffice/translations/source/ko/helpcontent2/source/text/auxiliary.po
> >> libreoffice/translations/source/ko/helpcontent2/source/
> >>
> >> Thanks.
> >>
> >>
> > Hi,
> >
> > I finally added everything to
> >
> > https://wiki.documentfoundation.org/Development/BuildingOnLinux#Building_
> > translated_user_interface_with_.po_files_from_Pootle
> >
> > could Kiyotaka and you check everything. I'll edit if needed.
> >
> > Thanks,
> > Kruno
> >
> >
> >
> >
> >> --
> >> Regards,
> >> Jihui Choi
> >>
> >> On Tue, Mar 20, 2018 at 6:37 PM, Krunose > kruno...@gmx.com>> wrote:
> >>
> >>
> >>
> >> On 20.03.2018 10:24, Heiko Tietze wrote:
> >>
> >> On 20.03.2018 07:56, Krunose wrote:
> >>
> >> On 20.03.2018 07:54, Krunose wrote:
> >>
> >> On 16.03.2018 09:07, Jihui Choi wrote:
> >>
> >> Hi, Kiyotaka Nishibori
> >>
> >> I followed your instructions.
> >> It works well. Now I can check my translations in
> >> few mins.
> >>
> >> ...
> >> Think that shouldn't that be added to
> >>
> >> Wanted to say 'Shouldn't that be added to [...]'
> >>
> >> You are welcome to edit the page. :-)
> >>
> >>
> >> Will do later today.
> >>
> >> Kruno
> >>
> >>
> >>
> >> -- To unsubscribe e-mail to: l10n+unsubscribe@global.libreo
> >> ffice.org
> >> 
> >> Problems?
> >> https://www.libreoffice.org/get-help/mailing-lists/how-to-un
> >> subscribe/
> >>  >> nsubscribe/>
> >> Posting guidelines + more:
> >> https://wiki.documentfoundation.org/Netiquette
> >> 
> >> List archive: https://listarchives.libreoffice.org/global/l10n/
> >> 
> >> All messages sent to this list will be publicly archived and
> >> cannot be deleted
> >>
> >>
> >>
> >
> > --
> > To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
> > Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-un
> > subscribe/
> > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> > List archive: https://listarchives.libreoffice.org/global/l10n/
> > All messages sent to this list will be publicly archived and cannot be
> > deleted
> >
>
> --
> To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/l10n/
> All messages sent to this list will be publicly archived and cannot be deleted

-- 
To unsubscribe e-mail to: l10n+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
All