Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 21 Apr 2014, 10:51
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
official (momanager) language packs
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 12 [174 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12 Next
Author Message
akarui.tenshi

Joined: 29 Oct 2012
Posts: 4

PostPosted: Sun 13 Oct 2013, 12:45    Post subject: L18L... i have a doubt  

Hi... L18L i have a doubt,

what is the meaning of this expression:

LANG="`grep '^LANG=' /etc/profile | cut -f 2 -d '=' | cut -f 1 -d ' '`"

I think that this expression means
LANG (the current language of puppy) "cut f 2" (use only two bytes to recognize the language?)

I'm confused, because, for example (in my case), pt_BR and pt_PT both of them have the same 2 first bytes 'pt' but they aren't the same language, they have differences like the US english and the UK english...
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 14 Oct 2013, 03:15    Post subject: Re: L18L... i have a doubt  

akarui.tenshi wrote:
Hi... L18L i have a doubt,

what is the meaning of this expression:

LANG="`grep '^LANG=' /etc/profile | cut -f 2 -d '=' | cut -f 1 -d ' '`"

I think that this expression means
LANG (the current language of puppy) "cut f 2" (use only two bytes to recognize the language?)

I'm confused, because, for example (in my case), pt_BR and pt_PT both of them have the same 2 first bytes 'pt' but they aren't the same language, they have differences like the US english and the UK english...


cut -f 2 -d '=' means
cut field number 2 where field delimiter is =
thus everything after =
Code:
cut --help
helps

I do not understand the meaning of the next cut
"everything before blank" ?
should be dot.

if line
LANG=pt_PT.UTF8
in /etc/profile
then LANG will be pt_PT

This line in /etc/profile is updated by script
Code:
chooselocale
.

Where did you find this "LANG=...." ?

Do continue to post all of your doubts here please.
You are the first translator to a language where the letters after the underscore are important. So you might find some bugs. Wink
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Tue 15 Oct 2013, 11:29    Post subject: momanager
Subject description: new version
 

What's new?
Code:
#131013 L18L delete harmful pot files
#131014 L18L WINDOW_WIDTH no more in preferences
#131015 L18L output directory MOMADIR for MoManager-* files configurable by preferences

#131013 L18L delete harmful pot files
These are the files that prevent momanager from creating an actual pot file.
Nothing harmful happens because they continue to exist inside devx file...

#131014 L18L WINDOW_WIDTH no more in preferences
window width is "computed" from screen width....1180px max.

#131015 L18L output directory MOMADIR for MoManager-* files configurable by preferences

These files are not needed if you are the maintainer of the language_pack.
They are needed if you want to contribute a single translation and send it to the maintainer or the developper of the app.

All files created by momanager (but not the languagepack) are written into this directory.
Type in whatever you wish as directory name, this directory will be created if it is not already existing.
Example1: MOMADIR=/root/MoManager-files (Bert's suggestion)
Example2: MOMADIR=/mnt/home/momanager-files (outside of save file)
Example3: MOMADIR=/tmp/momanager-files (no persistance!)
Example4: MOMADIR=/dev/null (no existence at all Cool )
ffmm-20131015.png
 Description   window at max width
 Filesize   26.17 KB
 Viewed   508 Time(s)

ffmm-20131015.png

momanager-20131015.pet
Description 
pet

 Download 
Filename  momanager-20131015.pet 
Filesize  29.63 KB 
Downloaded  181 Time(s) 
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Fri 18 Oct 2013, 16:22    Post subject:  

MoManager 20131015 is the best ever!

It 'remembered' my settings. Nice.
It stretched itself, filling about two-thirds of my screen. Nice.

So far , it didn't go after the bad ('harmful') guys in /usr/share/doc/nls, but I'm confident it will, when creating a new pet.

Just to illustrate the greatness of this new FFMM: I installed a new puplet, added the devx and, without thinking too much about what I was doing, clicked 'MoManager' in the menu... Up came the original MoManager...it still works, but feels like an old snail crawling through tired molasses...

Just incredible how L18L has implemented little incremental improvements over the months and how MoManager has benefited from all those careful steps!

Of course I was eager to use the new option to save the momanager-dump to another place than /root. I chose /mnt/home/momanager-files as the new directory and lord-and-behold, it was created. But, the first translation I saved was not sent to this new folder, instead it arrived in the old place: /root, which already looked like a composting pile with all these translation files littering it.
It will maybe take a few more translations to persuade MM to send the dump to /mnt/home/...?

To paraphrase current political news: "A source close to the steering committee, who prefers to stay anonymous, told us that FFMM has already been chosen as the default puppy internationalization tool." Laughing



_________________


Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 19 Oct 2013, 07:17    Post subject:  

Bert,

thank you for the nice words!

But I could not have done it without you
who has always given feedback and made good suggestions.

folder in /mnt/home,
I did not test it before, just /root/MOMA.
Now I changed it in preferences
Code:
CONS_HEIGHT=20                # number of characters
#MOMADIR=/root/MOMA            # (existing or not) directory for storing resulting files
MOMADIR=/mnt/home/MOMA-files  # (existing or not) directory for storing resulting files

..and it has been used instantly (
Code:
# pwd
/initrd/mnt/dev_save/MOMA-files
# ls
MoManager-de-UExtract-2.3-in  MoManager-de-UExtract-2.3-in.tar.gz
#
)

other puplet
I have been trying it in luci528 without success (because window just 1 byte wide)
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 27 Oct 2013, 09:39    Post subject: MoManager
Subject description: new version
 

Who needs it?
Everyone who uses FatDog64 or lupu5.2.8.6

What is new?
Code:
#131026 L18L fit for fatdog64 has gettext in /etc; pupdialog needs declaration as dependency
#131027 L18L fit for lupu-5.2.8.6

In lupu5286 (Lucid Linux) the automatic window width and height do not work. Fix is:
Code:
read ISSUE < /etc/issue #131027
if [ "$ISSUE" = "Lucid  Linux" ];then
 MM2_DLG="<window width-request=\"$((${WINDOW_WIDTH}+132))\"  height-request=\"450\" title=\"Forked Fast MoManager : Puppy files\"    resizable=\"true\" icon-name=\"${WINICON}\" window-position=\"1\">"
else
 MM2_DLG="<window title=\"Forked Fast MoManager : Puppy files\" resizable=\"false\" icon-name=\"${WINICON}\">"
fi
momanager-20131027.pet
Description 
pet

 Download 
Filename  momanager-20131027.pet 
Filesize  30 KB 
Downloaded  163 Time(s) 
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 10 Nov 2013, 06:38    Post subject: momanager
Subject description: new version
 

What's new?
Code:
#131028 added animation for translation of Comment in /usr/share/applications/*.desktop
#131029 support for language=Glade added (-j join existing)
#131104 insert 'export TEXTDOMAIN=' into *.sh.xml.sh (temporary copy of *.sh.xml)
#131110 acknowledge Bert's MM-standalone.pet instead of devx

Details

#131028 added animation for translation of Comment in /usr/share/applications/*.desktop
Arrow Fatdog's internationalized control panel uses them as tooltips

#131029 support for language=Glade added (-j join existing)
Arrow supporting fatdog's use of internationalisation in gtk server

#131104 insert 'export TEXTDOMAIN=' into *.sh.xml.sh (temporary copy of *.sh.xml)
Arrow no manual insertion of "TEXTDOMAIN=..." required

#131110 acknowledge Bert's MM-standalone.pet as alternative to devx
Arrow nice idea Very Happy

---
edit
after 2 downloads re-uploaded disabling test on devx

----
edit after 4 downloads re-uploaded because "pet made in fatdog" did not work in puppy
momanager-20131110.pet
Description  4th upload fixed bug found by Bert
pet

 Download 
Filename  momanager-20131110.pet 
Filesize  30.61 KB 
Downloaded  178 Time(s) 
result_of_dir2pet_in_fatdog_and_precise.png
 Description   
 Filesize   29.17 KB
 Viewed   353 Time(s)

result_of_dir2pet_in_fatdog_and_precise.png

Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 19 Dec 2013, 14:46    Post subject: momanager
Subject description: new version
 

what's new
Code:
#131206 make it fatdog compatible, LANGPACK=langpack | langpack_fatdog
Fatdog needs puppy's langpack.

Code:
#131212 support t12s method
If you don't know what it is you won't need it

Code:
#131219 enable quirky6.0: no check on pupmode

May be of interest if you cannot have frugal install, only full install

Thus it might be not for everyone. Wink

...and here is a screenshot
momanager-20131219.pet
Description 
pet

 Download 
Filename  momanager-20131219.pet 
Filesize  34.74 KB 
Downloaded  109 Time(s) 
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Wed 01 Jan 2014, 12:45    Post subject: momanager
Subject description: 20140101
 

New Year - new momanager

Version 20130101
containing just some fixes for bugs detected by Finnish translator zephyr2 who has no frugal install.

That is why I have extended momanager to work with full install, tested in Quirky6.0

EDIT: xgettext, etc do yet NOT work in Quirky6.1

EDIT: works in Quirky if you install gettext-0.18.3.1.tar.bz2 from
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/quirky/quirky6/x86/packages/t2/quirky6/
momanager-20140101.pet
Description 
pet

 Download 
Filename  momanager-20140101.pet 
Filesize  35.04 KB 
Downloaded  89 Time(s) 
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 04 Jan 2014, 07:59    Post subject: FFMM is dead
Subject description: Long live momanager.
 

FFMM is dead
Long live momanager.

Quote:
Yes, I will put your latest momanager pet into quirky 6.1.1.
see
http://www.murga-linux.com/puppy/viewtopic.php?t=90784&start=207.
momanager-20140104.pet
Description 
pet

 Download 
Filename  momanager-20140104.pet 
Filesize  35.15 KB 
Downloaded  138 Time(s) 
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sat 04 Jan 2014, 08:36    Post subject:  

Great! Congrats...
group_clapping_sm_wm.gif
 Description   
 Filesize   41.07 KB
 Viewed   331 Time(s)

group_clapping_sm_wm.gif


_________________


Back to top
View user's profile Send private message 
rodin.s

Joined: 22 Sep 2010
Posts: 338
Location: Ukraine

PostPosted: Sat 04 Jan 2014, 12:36    Post subject: Slacko  

Latest momanagers do not work on latest Slacko (5.6.5.1, 5.6.5.2). I use version 20130620 which works.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 05 Jan 2014, 04:59    Post subject: Re: Slacko  

rodin.s wrote:
Latest momanagers do not work on latest Slacko (5.6.5.1, 5.6.5.2). I use version 20130620 which works.

I will check momanager in slacko. Thank you, Sergey

...and thank you, Bert
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2477
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 05 Jan 2014, 06:50    Post subject: Re: Slacko
Subject description: fix
 

L18L wrote:
rodin.s wrote:
Latest momanagers do not work on latest Slacko (5.6.5.1, 5.6.5.2). I use version 20130620 which works.

I will check momanager in slacko. Thank you, Sergey


Fix: remove the geometry Laughing
#MM1RET="`$GTKDIALOGEXE --program=MM2_DLG --geometry 0x0+0-0 `" #131014
MM1RET="`$GTKDIALOGEXE --program=MM2_DLG `" #140105

Thanks again. Very Happy

gettext-tools (dev activated) installed , no devx Cool
EDIT: gettext-tools frpm slacko's package manager

Last edited by L18L on Sun 05 Jan 2014, 08:47; edited 1 time in total
Back to top
View user's profile Send private message 
Bert


Joined: 30 Jun 2006
Posts: 915

PostPosted: Sun 05 Jan 2014, 08:29    Post subject:  

Hi L18L -and happy NY!-,

Are you talking about these gettext-tools?

We're still in festive mood here...a real hiatus, unlike Barry's Laughing

Thanks!

_________________


Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 12 [174 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0913s ][ Queries: 13 (0.0080s) ][ GZIP on ]