Page 1 of 2

How to put the XFCE in pt-br?

Posted: 23 Jun 2015, 19:04
by Slaxmax
How to put the XFCE in Portuguese?

I tried PSC -> system settings -> language setup to download Portuguese br, but mix english and portuguese menus. Thunar show only in english.

I remember already installed slackware XFCE and all menus shown in portuguese.

Thank you.

Re: How to put the XFCE in pt-br?

Posted: 23 Jun 2015, 20:16
by francois
Did you tried the porteus setting center? There should be a submenu for language settings and keyboard.

Re: How to put the XFCE in pt-br?

Posted: 23 Jun 2015, 20:31
by Ed_P
francois wrote:Did you tried the porteus setting center?
Image I think that is what Slaxmax's "PSC" stands for. So I think he did. Image

Sorry, couldn't resist the tease. You back from Greece yet?

Re: How to put the XFCE in pt-br?

Posted: 24 Jun 2015, 05:09
by francois
The net result of the operation should yield a language porteus module. If this the case. And if it present in \porteus\modules folder?

Yes I am still in Greece in Galaxidi a coastal and quiet village with a nice harbour located near Delphi. This should be a good place for the pension days.

I will consult one of profetess in the mountains today to know what to do about your case. :wink:

Re: How to put the XFCE in pt-br?

Posted: 24 Jun 2015, 06:53
by beny
hi slaxmax if you want to do a permanent language change.change the lang.csh and lang.sh in profile.d from en-US to pt-br ,you can repack the core with this permanent change,so you can use also in fresh way ...i think but not shure.

Re: How to put the XFCE in pt-br?

Posted: 24 Jun 2015, 12:20
by Slaxmax
Thank you guys

Before I changed lang.sh and also used porteus settings center (PSC), but without success. The PSC change lang.sh to pt_br.

lang.sh (locales-pt_BR.utf8-x86_64-1prt.xzm file)

Code: Select all

#!/bin/bash
# File generated by Porteus Language-Selection tool

#export LC_ALL=pt_BR.utf8
export LANG=pt_BR.utf8
export LC_COLLATE=C
I read in slackware forums to make the same change. But here it did not change all menus.

Re: How to put the XFCE in pt-br?

Posted: 24 Jun 2015, 13:24
by donald
And Thunar?
because I made a test with fresh 3.1 xfce (32bit) and pt-BR and Thunar is translated.
and yes, not all (other) menus and Apps are translated, not in pt-br nor in de-de.

Re: How to put the XFCE in pt-br?

Posted: 24 Jun 2015, 14:17
by Slaxmax
donald wrote:And Thunar?
because I made a test with fresh 3.1 xfce (32bit) and pt-BR and Thunar is translated.
and yes, not all (other) menus and Apps are translated, not in pt-br nor in de-de.
thunar show in english only.

Re: How to put the XFCE in pt-br?

Posted: 24 Jun 2015, 15:58
by donald
Did you select "yes,i want to choose which applications" ??

psc > language setup > select your language and check "yes,i want to choose which applications" > ok >
after the download a popup window "miscellaneous locales" came up > check xfce desktop > ok

Re: How to put the XFCE in pt-br?

Posted: 24 Jun 2015, 17:37
by Slaxmax
donald wrote:Did you select "yes,i want to choose which applications" ??

psc > language setup > select your language and check "yes,i want to choose which applications" > ok >
after the download a popup window "miscellaneous locales" came up > check xfce desktop > ok
Yes I did it, but the problem persists.

Re: How to put the XFCE in pt-br?

Posted: 24 Jun 2015, 22:37
by donald
I have no idea why it isn't working for you..see:
http://fs2.directupload.net/images/150625/4llgmqii.jpg
sorry.. :unknown:

EDIT
I just noticed that you use the 64bit version.(locales-pt_BR.utf8-x86_64-1prt.xzm)
I used the 32bit version
I have no 64bit Hw, but maybe you could try the 32bit version to
see if it makes any difference....I'm really running out of Ideas..

Re: How to put the XFCE in pt-br?

Posted: 25 Jun 2015, 02:59
by Slaxmax
Strange very strange.
I installed porteus 3.1 i486 XFCE in my flashdrive and download language pt-BR, but the same problem.
Thunar and a few menus in english.

Re: How to put the XFCE in pt-br?

Posted: 25 Jun 2015, 19:53
by beny
hi you have to change also lang.csh,if i have thunar in full italian language,you have to have thunar in your language too...well i have done a try and thunar have all the menu in pt-BR....

Re: How to put the XFCE in pt-br?

Posted: 25 Jun 2015, 21:36
by Slaxmax
beny wrote:hi you have to change also lang.csh,if i have thunar in full italian language,you have to have thunar in your language too...well i have done a try and thunar have all the menu in pt-BR....
Why csh? Porteus does not use csh.

Here is the structure of the file "locales-pt_BR.utf8-x86_64-1prt.xzm"

Code: Select all

structure file "locales-pt_BR.utf8-x86_64-1prt.xzm"
|   -- .:
|   --  etc
|   --  usr
-------------------------------------------------------------------------------------
| etc:
|   --  profile.d
-------------------------------------------------------------------------------------
	| profile.d:
	|   --  lang.sh
	-------------------------------------------------------------------------------------
| usr:
|   -- lib64
|   --  man
|   -- share
-------------------------------------------------------------------------------------
	| lib64:
	|   -- locale
	-------------------------------------------------------------------------------------
		| locale:
		|   -- pt_BR.utf8
		-------------------------------------------------------------------------------------
			| pt_BR.utf8:
			|   --  127 Set 15  2013 LC_ADDRESS
			|   -- 1,2M Set 15  2013 LC_COLLATE
			|   -- 251K Set 15  2013 LC_CTYPE
			|   --  351 Set 15  2013 LC_IDENTIFICATION
			|   --   23 Set 15  2013 LC_MEASUREMENT
			|   --   60 Set 15  2013 LC_MESSAGES
			|   --  290 Set 15  2013 LC_MONETARY
			|   --   62 Set 15  2013 LC_NAME
			|   --   54 Set 15  2013 LC_NUMERIC
			|   --   34 Set 15  2013 LC_PAPER
			|   --   51 Set 15  2013 LC_TELEPHONE
			|   -- 2,4K Set 15  2013 LC_TIME
			-------------------------------------------------------------------------------------
			| pt_BR.utf8/LC_MESSAGES:
			|   -- 54 Set 15  2013 SYS_LC_MESSAGES
			-------------------------------------------------------------------------------------
	| man:
	-------------------------------------------------------------------------------------
	| share:
	|   -- 80 Set 15  2013 i18n
	|   --  locale
	-------------------------------------------------------------------------------------
		| i18n:
		|   -- 4,6K Set 15  2013 charmaps
		|   --  locales
		-------------------------------------------------------------------------------------
			| charmaps:
			|   -- 4,7K Set 15  2013 ANSI_X3.110-1983.gz
			|   -- 1,6K Set 15  2013 ANSI_X3.4-1968.gz
			|   -- 2,2K Set 15  2013 ARMSCII-8.gz
			|   -- 1,6K Set 15  2013 ASMO_449.gz
			|   -- 106K Set 15  2013 BIG5-HKSCS.gz
			|   --  76K Set 15  2013 BIG5.gz
			|   -- 1,2K Set 15  2013 BRF.gz
			|   -- 1,6K Set 15  2013 BS_4730.gz
			|   -- 1,6K Set 15  2013 BS_VIEWDATA.gz
			|   -- 2,7K Set 15  2013 CP10007.gz
			|   -- 2,7K Set 15  2013 CP1125.gz
			|   -- 2,8K Set 15  2013 CP1250.gz
			|   -- 2,8K Set 15  2013 CP1251.gz
			|   -- 2,9K Set 15  2013 CP1252.gz
			|   -- 2,7K Set 15  2013 CP1253.gz
			|   -- 2,9K Set 15  2013 CP1254.gz
			|   -- 2,8K Set 15  2013 CP1255.gz
			|   -- 3,0K Set 15  2013 CP1256.gz
			|   -- 2,8K Set 15  2013 CP1257.gz
			|   -- 2,7K Set 15  2013 CP1258.gz
			|   -- 2,9K Set 15  2013 CP737.gz
			|   -- 2,8K Set 15  2013 CP770.gz
			|   -- 2,6K Set 15  2013 CP771.gz
			|   -- 2,7K Set 15  2013 CP772.gz
			|   -- 2,7K Set 15  2013 CP773.gz
			|   -- 2,8K Set 15  2013 CP774.gz
			|   -- 3,0K Set 15  2013 CP775.gz
			|   -- 127K Set 15  2013 CP949.gz
			|   -- 1,6K Set 15  2013 CSA_Z243.4-1985-1.gz
			|   -- 1,6K Set 15  2013 CSA_Z243.4-1985-2.gz
			|   -- 3,1K Set 15  2013 CSA_Z243.4-1985-GR.gz
			|   -- 3,1K Set 15  2013 CSN_369103.gz
			|   -- 3,0K Set 15  2013 CWI.gz
			|   -- 2,9K Set 15  2013 DEC-MCS.gz
			|   -- 1,6K Set 15  2013 DIN_66003.gz
			|   -- 1,6K Set 15  2013 DS_2089.gz
			|   -- 2,1K Set 15  2013 EBCDIC-AT-DE-A.gz
			|   -- 2,1K Set 15  2013 EBCDIC-AT-DE.gz
			|   -- 2,3K Set 15  2013 EBCDIC-CA-FR.gz
			|   -- 2,1K Set 15  2013 EBCDIC-DK-NO-A.gz
			|   -- 2,2K Set 15  2013 EBCDIC-DK-NO.gz
			|   -- 2,1K Set 15  2013 EBCDIC-ES-A.gz
			|   -- 2,1K Set 15  2013 EBCDIC-ES-S.gz
			|   -- 2,1K Set 15  2013 EBCDIC-ES.gz
			|   -- 2,1K Set 15  2013 EBCDIC-FI-SE-A.gz
			|   -- 2,1K Set 15  2013 EBCDIC-FI-SE.gz
			|   -- 2,1K Set 15  2013 EBCDIC-FR.gz
			|   -- 1,8K Set 15  2013 EBCDIC-IS-FRISS.gz
			|   -- 2,1K Set 15  2013 EBCDIC-IT.gz
			|   -- 2,0K Set 15  2013 EBCDIC-PT.gz
			|   -- 2,1K Set 15  2013 EBCDIC-UK.gz
			|   -- 2,1K Set 15  2013 EBCDIC-US.gz
			|   -- 3,0K Set 15  2013 ECMA-CYRILLIC.gz
			|   -- 1,6K Set 15  2013 ES.gz
			|   -- 1,6K Set 15  2013 ES2.gz
			|   --  69K Set 15  2013 EUC-JISX0213.gz
			|   --  85K Set 15  2013 EUC-JP-MS.gz
			|   --  73K Set 15  2013 EUC-JP.gz
			|   --  58K Set 15  2013 EUC-KR.gz
			|   -- 341K Set 15  2013 EUC-TW.gz
			|   -- 631K Set 15  2013 GB18030.gz
			|   --  44K Set 15  2013 GB2312.gz
			|   -- 117K Set 15  2013 GBK.gz
			|   -- 1,6K Set 15  2013 GB_1988-80.gz
			|   -- 2,9K Set 15  2013 GEORGIAN-ACADEMY.gz
			|   -- 2,9K Set 15  2013 GEORGIAN-PS.gz
			|   -- 2,7K Set 15  2013 GOST_19768-74.gz
			|   -- 1,6K Set 15  2013 GREEK-CCITT.gz
			|   -- 1,6K Set 15  2013 GREEK7-OLD.gz
			|   -- 1,6K Set 15  2013 GREEK7.gz
			|   -- 2,6K Set 15  2013 HP-GREEK8.gz
			|   -- 3,2K Set 15  2013 HP-ROMAN8.gz
			|   -- 3,1K Set 15  2013 HP-ROMAN9.gz
			|   -- 2,9K Set 15  2013 HP-THAI8.gz
			|   -- 3,0K Set 15  2013 HP-TURKISH8.gz
			|   -- 3,1K Set 15  2013 IBM037.gz
			|   -- 2,2K Set 15  2013 IBM038.gz
			|   -- 2,8K Set 15  2013 IBM1004.gz
			|   -- 3,1K Set 15  2013 IBM1026.gz
			|   -- 3,2K Set 15  2013 IBM1047.gz
			|   -- 2,2K Set 15  2013 IBM1124.gz
			|   -- 2,4K Set 15  2013 IBM1129.gz
			|   -- 2,0K Set 15  2013 IBM1132.gz
			|   -- 2,0K Set 15  2013 IBM1133.gz
			|   -- 2,4K Set 15  2013 IBM1160.gz
			|   -- 2,2K Set 15  2013 IBM1161.gz
			|   -- 2,3K Set 15  2013 IBM1162.gz
			|   -- 2,4K Set 15  2013 IBM1163.gz
			|   -- 2,4K Set 15  2013 IBM1164.gz
			|   -- 3,1K Set 15  2013 IBM256.gz
			|   -- 3,1K Set 15  2013 IBM273.gz
			|   -- 2,2K Set 15  2013 IBM274.gz
			|   -- 2,1K Set 15  2013 IBM275.gz
			|   -- 3,1K Set 15  2013 IBM277.gz
			|   -- 3,1K Set 15  2013 IBM278.gz
			|   -- 3,1K Set 15  2013 IBM280.gz
			|   -- 2,1K Set 15  2013 IBM281.gz
			|   -- 3,1K Set 15  2013 IBM284.gz
			|   -- 3,1K Set 15  2013 IBM285.gz
			|   -- 2,5K Set 15  2013 IBM290.gz
			|   -- 3,1K Set 15  2013 IBM297.gz
			|   -- 3,0K Set 15  2013 IBM420.gz
			|   -- 2,9K Set 15  2013 IBM423.gz
			|   -- 2,8K Set 15  2013 IBM424.gz
			|   -- 3,0K Set 15  2013 IBM437.gz
			|   -- 3,1K Set 15  2013 IBM500.gz
			|   -- 2,9K Set 15  2013 IBM850.gz
			|   -- 2,9K Set 15  2013 IBM851.gz
			|   -- 2,9K Set 15  2013 IBM852.gz
			|   -- 2,8K Set 15  2013 IBM855.gz
			|   -- 2,2K Set 15  2013 IBM856.gz
			|   -- 2,9K Set 15  2013 IBM857.gz
			|   -- 3,0K Set 15  2013 IBM860.gz
			|   -- 3,0K Set 15  2013 IBM861.gz
			|   -- 3,0K Set 15  2013 IBM862.gz
			|   -- 3,0K Set 15  2013 IBM863.gz
			|   -- 2,8K Set 15  2013 IBM864.gz
			|   -- 3,0K Set 15  2013 IBM865.gz
			|   -- 2,7K Set 15  2013 IBM866.gz
			|   -- 2,8K Set 15  2013 IBM866NAV.gz
			|   -- 2,6K Set 15  2013 IBM868.gz
			|   -- 2,8K Set 15  2013 IBM869.gz
			|   -- 3,1K Set 15  2013 IBM870.gz
			|   -- 3,1K Set 15  2013 IBM871.gz
			|   -- 2,5K Set 15  2013 IBM874.gz
			|   -- 3,0K Set 15  2013 IBM875.gz
			|   -- 2,9K Set 15  2013 IBM880.gz
			|   -- 1,6K Set 15  2013 IBM891.gz
			|   -- 1,6K Set 15  2013 IBM903.gz
			|   -- 1,6K Set 15  2013 IBM904.gz
			|   -- 3,0K Set 15  2013 IBM905.gz
			|   -- 2,8K Set 15  2013 IBM918.gz
			|   -- 2,4K Set 15  2013 IBM922.gz
			|   -- 3,2K Set 15  2013 IEC_P27-1.gz
			|   -- 1,1K Set 15  2013 INIS-8.gz
			|   -- 1,5K Set 15  2013 INIS-CYRILLIC.gz
			|   -- 1,4K Set 15  2013 INIS.gz
			|   -- 1,4K Set 15  2013 INVARIANT.gz
			|   -- 3,4K Set 15  2013 ISIRI-3342.gz
			|   -- 3,1K Set 15  2013 ISO-8859-1.gz
			|   -- 3,0K Set 15  2013 ISO-8859-10.gz
			|   -- 3,0K Set 15  2013 ISO-8859-11.gz
			|   -- 3,0K Set 15  2013 ISO-8859-13.gz
			|   -- 2,9K Set 15  2013 ISO-8859-14.gz
			|   -- 2,9K Set 15  2013 ISO-8859-15.gz
			|   -- 3,0K Set 15  2013 ISO-8859-16.gz
			|   -- 3,0K Set 15  2013 ISO-8859-2.gz
			|   -- 3,0K Set 15  2013 ISO-8859-3.gz
			|   -- 3,1K Set 15  2013 ISO-8859-4.gz
			|   -- 3,0K Set 15  2013 ISO-8859-5.gz
			|   -- 2,6K Set 15  2013 ISO-8859-6.gz
			|   -- 3,1K Set 15  2013 ISO-8859-7.gz
			|   -- 2,8K Set 15  2013 ISO-8859-8.gz
			|   -- 3,1K Set 15  2013 ISO-8859-9.gz
			|   -- 3,0K Set 15  2013 ISO-8859-9E.gz
			|   -- 2,9K Set 15  2013 ISO-IR-197.gz
			|   -- 2,9K Set 15  2013 ISO-IR-209.gz
			|   -- 4,5K Set 15  2013 ISO-IR-90.gz
			|   -- 2,4K Set 15  2013 ISO_10367-BOX.gz
			|   --  19K Set 15  2013 ISO_10646.gz
			|   -- 1,7K Set 15  2013 ISO_11548-1.gz
			|   --  865 Set 15  2013 ISO_2033-1983.gz
			|   -- 1,2K Set 15  2013 ISO_5427-EXT.gz
			|   -- 1,6K Set 15  2013 ISO_5427.gz
			|   -- 1,5K Set 15  2013 ISO_5428.gz
			|   --  926 Set 15  2013 ISO_646.BASIC.gz
			|   -- 1,6K Set 15  2013 ISO_646.IRV.gz
			|   -- 2,4K Set 15  2013 ISO_6937-2-25.gz
			|   -- 4,6K Set 15  2013 ISO_6937-2-ADD.gz
			|   -- 4,6K Set 15  2013 ISO_6937.gz
			|   -- 4,2K Set 15  2013 ISO_8859-1,GL.gz
			|   -- 3,0K Set 15  2013 ISO_8859-SUPP.gz
			|   -- 1,6K Set 15  2013 IT.gz
			|   -- 2,5K Set 15  2013 JIS_C6220-1969-JP.gz
			|   -- 1,6K Set 15  2013 JIS_C6220-1969-RO.gz
			|   -- 2,4K Set 15  2013 JIS_C6229-1984-A.gz
			|   -- 1,9K Set 15  2013 JIS_C6229-1984-B-ADD.gz
			|   -- 1,6K Set 15  2013 JIS_C6229-1984-B.gz
			|   -- 1,8K Set 15  2013 JIS_C6229-1984-HAND-ADD.gz
			|   -- 2,4K Set 15  2013 JIS_C6229-1984-HAND.gz
			|   -- 2,4K Set 15  2013 JIS_C6229-1984-KANA.gz
			|   -- 2,6K Set 15  2013 JIS_X0201.gz
			|   -- 122K Set 15  2013 JOHAB.gz
			|   -- 1,6K Set 15  2013 JUS_I.B1.002.gz
			|   -- 1,6K Set 15  2013 JUS_I.B1.003-MAC.gz
			|   -- 1,6K Set 15  2013 JUS_I.B1.003-SERB.gz
			|   -- 2,1K Set 15  2013 KOI-8.gz
			|   -- 2,9K Set 15  2013 KOI8-R.gz
			|   -- 2,8K Set 15  2013 KOI8-RU.gz
			|   -- 2,6K Set 15  2013 KOI8-T.gz
			|   -- 2,8K Set 15  2013 KOI8-U.gz
			|   -- 1,5K Set 15  2013 KSC5636.gz
			|   -- 1,6K Set 15  2013 LATIN-GREEK-1.gz
			|   -- 1,6K Set 15  2013 LATIN-GREEK.gz
			|   -- 2,7K Set 15  2013 MAC-CENTRALEUROPE.gz
			|   -- 2,6K Set 15  2013 MAC-CYRILLIC.gz
			|   -- 3,0K Set 15  2013 MAC-IS.gz
			|   -- 2,9K Set 15  2013 MAC-SAMI.gz
			|   -- 2,7K Set 15  2013 MAC-UK.gz
			|   -- 3,0K Set 15  2013 MACINTOSH.gz
			|   -- 2,9K Set 15  2013 MIK.gz
			|   -- 1,6K Set 15  2013 MSZ_7795.3.gz
			|   -- 1,7K Set 15  2013 NATS-DANO-ADD.gz
			|   -- 1,6K Set 15  2013 NATS-DANO.gz
			|   -- 1,7K Set 15  2013 NATS-SEFI-ADD.gz
			|   -- 1,6K Set 15  2013 NATS-SEFI.gz
			|   -- 1,6K Set 15  2013 NC_NC00-10.gz
			|   -- 3,0K Set 15  2013 NEXTSTEP.gz
			|   -- 1,6K Set 15  2013 NF_Z_62-010.gz
			|   -- 1,6K Set 15  2013 NF_Z_62-010_1973.gz
			|   -- 1,6K Set 15  2013 NS_4551-1.gz
			|   -- 1,6K Set 15  2013 NS_4551-2.gz
			|   -- 1,6K Set 15  2013 PT.gz
			|   -- 2,8K Set 15  2013 PT154.gz
			|   -- 1,6K Set 15  2013 PT2.gz
			|   -- 2,8K Set 15  2013 RK1048.gz
			|   -- 3,0K Set 15  2013 SAMI-WS2.gz
			|   -- 2,4K Set 15  2013 SAMI.gz
			|   -- 1,6K Set 15  2013 SEN_850200_B.gz
			|   -- 1,6K Set 15  2013 SEN_850200_C.gz
			|   --  42K Set 15  2013 SHIFT_JIS.gz
			|   --  69K Set 15  2013 SHIFT_JISX0213.gz
			|   -- 4,7K Set 15  2013 T.101-G2.gz
			|   -- 1,5K Set 15  2013 T.61-7BIT.gz
			|   -- 4,3K Set 15  2013 T.61-8BIT.gz
			|   -- 3,1K Set 15  2013 TCVN5712-1.gz
			|   -- 2,5K Set 15  2013 TIS-620.gz
			|   -- 3,5K Set 15  2013 TSCII.gz
			|   -- 326K Set 15  2013 UTF-8.gz
			|   -- 4,5K Set 15  2013 VIDEOTEX-SUPPL.gz
			|   -- 2,6K Set 15  2013 VISCII.gz
			|   --  58K Set 15  2013 WINDOWS-31J.gz
			-------------------------------------------------------------------------------------
			| locales:
			|   -- 8,3K Set 15  2013 POSIX
			|   -- 4,7K Set 15  2013 pt_BR
			-------------------------------------------------------------------------------------
		| locale:
-------------------------------------------------------------------------------------
Please post your language module
Thank you

Re: How to put the XFCE in pt-br?

Posted: 25 Jun 2015, 22:43
by beny
hi slaxmax sorry for no posting from porteus but no internet connection so i have done a ls from profile.d :
root@porteus:~# cd /etc/profile.d
root@porteus:/etc/profile.d# ls
coreutils-dircolors.csh* gtk+.csh* libglib2.csh* pkgconfig.csh*
coreutils-dircolors.sh* gtk+.sh* libglib2.sh* pkgconfig.sh*
glibc.csh* lang.csh* mc.csh* z-dot-in-non-root-path.csh
glibc.sh* lang.sh* mc.sh* z-dot-in-non-root-path.sh
root@porteus:/etc/profile.d#
and have you see the lang.csh,so if you want do a trick, unpack the core or where the /etc directory is and change the two files inside profile.d repack, and so you have always the pt-BR inside your system.