You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

fweng

Beginner

  • "fweng" started this thread

Posts: 19

Location: Taiwan

Occupation: Software engineer

  • Send private message

1

Friday, November 24th 2006, 7:14am

How to build and install language packages after installing KDE?

Hi forum,

I'm trying to build and install KDE 3.5.5 from source myself. The KDE installation is going on and is close to finish.

Could anyone please tell me how can I install the *.mo language files I want after installing KDE?

fweng

Beginner

  • "fweng" started this thread

Posts: 19

Location: Taiwan

Occupation: Software engineer

  • Send private message

2

Friday, November 24th 2006, 8:13am

RE: How to build and install language packages after installing KDE?

Sorry, maybe I need to describe my question more precisely.

I checked out KDE code from svn://anonsvn.kde.org/home/kde/branches/KDE/3.5
and compile all the packages I need successfully.

However, the UI po/pot files are not there. I checked out the template/pot and our translation/po files in a seperate folder. I don't know if there is a way to "compile" all the po files into .mo files and install them into the correct place.

Could anyone please give me some hints about this?

Thanks a lot!

fweng

Beginner

  • "fweng" started this thread

Posts: 19

Location: Taiwan

Occupation: Software engineer

  • Send private message

3

Friday, November 24th 2006, 8:39am

RE: How to build and install language packages after installing KDE?

OK, I got it.

Checkout the scripts/ modules, and run ./scripts/autogen.sh <$LANG>, the necessary files including configure and Makefile will be created.

For your information.

4

Monday, February 26th 2007, 9:52am

RE: How to build and install language packages after installing KDE?

Would you please How to build and install language packages after installing KDE ? fweng
thanks you very much !!!!!

5

Monday, February 26th 2007, 10:35am

if you have the *.mo files, just put them in the directory $KDEDIR/share/locale/language/LC_MESSAGES

(replace language with the iso of your language, like nl for dutch, de for german, etc)

or in ~/.kde/share/locale/language/LC_MESSAGES

If you don't have the directory $KDEDIR/share/locale/language, you can create it yourself.
You then also need to create a desktop file called entry.desktop with this content:

Source code

1
2
3
[KCM Locale]
Name=Language
Name[language]=language name in your language

([language] should be something like nl, de, en, depending on the iso for your language)


Restart kde and the language should show up in kcontrol.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

fweng

Beginner

  • "fweng" started this thread

Posts: 19

Location: Taiwan

Occupation: Software engineer

  • Send private message

6

Tuesday, February 27th 2007, 12:47am

RE: How to build and install language packages after installing KDE?

If you want to *build* and *install* language mo files yourself, then checkout l10n directory, checkout script directory, and run script/autogen.sh to create configure script in l10n directory, then go into l10n directory and run

./configure --prefix=/opt/kde

where /opt/kde is the KDE installation directory.

then,

make && make install

(maybe need root priviledge if you cannot write into your KDE installation directory)

That's all.

7

Tuesday, February 27th 2007, 9:26am

RE: How to build and install language packages after installing KDE?

thanks you
but i still have a problem
I am Vietnamese.
i want install my language.
i did that:
i creat a vi folder as /home/kdedev/kde-unstable/share/locale/vi/LC_MESSAGES
i put mo files in there.
i creat entry.desktop too.
but My language don't show
who help me ??
thanks you very much

fweng

Beginner

  • "fweng" started this thread

Posts: 19

Location: Taiwan

Occupation: Software engineer

  • Send private message

8

Tuesday, February 27th 2007, 9:38am

RE: How to build and install language packages after installing KDE?

If you use ./configure --prefix=/opt/kde && make && make install
I think that you don't have to create such directories yourself.
The install script should do everything for you, and I think that should be a better way.

9

Tuesday, February 27th 2007, 9:57am

RE: How to build and install language packages after installing KDE?

thanks
But i want to understand what that configure,make and make install command do ??
can you help me ?

fweng

Beginner

  • "fweng" started this thread

Posts: 19

Location: Taiwan

Occupation: Software engineer

  • Send private message

10

Tuesday, February 27th 2007, 10:01am

RE: How to build and install language packages after installing KDE?

Maybe you can ``play'' and find more information about FSF, GNU, free softwares, and try to build some of these free softwares. Most of them use the same way to build.

11

Tuesday, February 27th 2007, 10:07am

RE: How to build and install language packages after installing KDE?

thanks
what is your job ?

12

Tuesday, February 27th 2007, 11:17am

RE: How to build and install language packages after installing KDE?

Quoted

Originally posted by dt2prin
thanks
But i want to understand what that configure,make and make install command do ??

Configure checks your environment to determin if you have all the tools and libraries to compile the software

Make compiles the sourcecode into binary files (for translations: it turns po-files into binary mo-files or gmo-files.)

Make install puts the files into the right directories.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

13

Wednesday, February 28th 2007, 9:03am

RE: How to build and install language packages after installing KDE?

i used export LANG=vi.
But Vietnames language don't show.
help me?
Or How to create a language package of Vietnamese

This post has been edited 1 times, last edit by "dt2prin" (Feb 28th 2007, 9:04am)