Ampache

Pour l'Amour de la Musique

introduction

You are not logged in.

Announcement

- Forums Updated 12/27/2008 -

Please read the Rules before posting. Also please always update to the latest stable release before submitting a bug report. If you are using a development release please update to the latest SVN.

Useful Links

#1 2008-02-12 23:18:43

Pio435
Member
Registered: 2008-02-12
Posts: 2
Reputation :   

Language Settings (German)

I just installed the Ampache-Server on a NAS (Synology Cubestation 407).

Unfortunately i can't access all parts of den linux-installation. I think I should change something to get the language-change working but can't do this.

So, is there any possibility to manually config the language settings directly in the php script (Just need the German-Language)?

Thanks in advance for your ideas.

Pio435

Offline

 

#2 2008-02-15 08:42:58

vollmerk
Lead Developer
From: Corvallis, OR
Registered: 2004-09-25
Posts: 3091
Ampache Version: Newer then SVN
MySQL Version: 5.x
PHP Version: 5.2.x
Reputation :   38 
Website

Re: Language Settings (German)

The language preferences are in the Ampache interface under Preferences -> Interface -> Language if it still doesn't work then you would need to install some additional software on your linux installation.

Offline

 

#3 2008-02-16 01:38:12

Pio435
Member
Registered: 2008-02-12
Posts: 2
Reputation :   

Re: Language Settings (German)

vollmerk wrote:

The language preferences are in the Ampache interface under Preferences -> Interface -> Language if it still doesn't work then you would need to install some additional software on your linux installation.

Seems, that my Question was a little misunderstanding (my english ...) ...

I know wehre to select the german language, but the ampache-interface doesn't change anything. So i think, that somewehre in the installation something doesn't work to get de german language out of the sql table ... an i hoped, that i can manually configere it directly in a part of one of the php-scripts ....

Pio435

Offline

 

#4 2008-03-02 01:17:56

Pikeman
Member
From: Germany
Registered: 2008-03-02
Posts: 4
Ampache Version: 3.3.3.5
MySQL Version: 5.0.32
PHP Version: PHP5
Reputation :   
Website

Re: Language Settings (German)

Hi,

same Problem here. I've tried the installation four times on two different servers. But when I try to change the language to german, nothing happened!!
But when I install AMPACHE at home on my Servers, everything is fine and all works.
At home I use one Linux SuSE 10.3 Root and one Debian 4.0 Root.

On the "normal" Servers I have Debian 4.0 installed!
The Configurations are the same.

Know my question:
What additional Software I have to install exactly? Please help me and sorry for my bad english!

Greets

Pikeman

Offline

 

#5 2008-03-02 08:08:00

eagle
Closet Fan
Registered: 2007-12-26
Posts: 19
Ampache Version: 3.4 beta1
MySQL Version: 5.0.45
PHP Version: 5.2.5
Reputation :   

Re: Language Settings (German)

Hi Pikeman and Pio435.

First sorry for my english (but it's a way to become better  ). Don't be afraid to correct me 
I had the same problem (but for french language) and I solved it by activating the "gettext extension" in the PHP config file.

But I don't know if you can change the config of PHP in a Synology NAS...
We have one at work, but I never look into it so as to know it (we use it only as NAS server and so disable the web function...).

I hope that it could help you...


By the way, is somebody knows how we can modify the translation file ? (with notepad ?) I'm a newbie in it... because in the 3.4 version, several words are not translated in french...

Offline

 

#6 2008-03-02 09:15:18

Pikeman
Member
From: Germany
Registered: 2008-03-02
Posts: 4
Ampache Version: 3.3.3.5
MySQL Version: 5.0.32
PHP Version: PHP5
Reputation :   
Website

Re: Language Settings (German)

Hi,

I've tried to active it in the php.ini
No way. Still the same!
By the way: There was no entry in the php.ini for this extension!
I did it manually.

I don't know if this is OK. What should I write exactly in the php.ini to activate?
And what packege have to be installed under Debian 4.0?
I use apt-get install ... to install!

Thx for help.

Pikeman

Offline

 

#7 2008-03-02 09:43:58

eagle
Closet Fan
Registered: 2007-12-26
Posts: 19
Ampache Version: 3.4 beta1
MySQL Version: 5.0.45
PHP Version: 5.2.5
Reputation :   

Re: Language Settings (German)

Hi,

I'm going to do as much as I can.
First you must know that I'm a windows user (yes, it is possible...  ) so I'm going to try but be indulgent 

In the php.ini, you must add a line with :
extension=gettext.so     (-> extension=php_gettext.dll under windows)

Then, so as to install the extension, if I'm right, it is something like that :
sudo apt-get install php5.x-gettext    (-> where the "x" is your version of PHP).

I think that you also have to rebuilt with the next command line
"./configure ..... --with-gettext..."

If all is right, you should solve your problem (heu... I hope  ).

Offline

 

#8 2008-03-03 12:27:19

vollmerk
Lead Developer
From: Corvallis, OR
Registered: 2004-09-25
Posts: 3091
Ampache Version: Newer then SVN
MySQL Version: 5.x
PHP Version: 5.2.x
Reputation :   38 
Website

Re: Language Settings (German)

You have to have gettext installed and the correct charset installed (depends on language) without these two things the translations will not work.

Offline

 

#9 2008-03-04 09:04:19

Pikeman
Member
From: Germany
Registered: 2008-03-02
Posts: 4
Ampache Version: 3.3.3.5
MySQL Version: 5.0.32
PHP Version: PHP5
Reputation :   
Website

Re: Language Settings (German)

Hi,

now I've tried everything!
And when I say: apt-get install gettext
the System says, the newest version is installed!

The Charset should also have been installed.

The only thing I can't find on the system is the gettext.so

I really don't know what's the problem. What else can I do??



Thx for help guys!

Greets

Pikeman

Offline

 

#10 2008-03-04 11:12:16

eagle
Closet Fan
Registered: 2007-12-26
Posts: 19
Ampache Version: 3.4 beta1
MySQL Version: 5.0.45
PHP Version: 5.2.5
Reputation :   

Re: Language Settings (German)

Hi all,

I'm thinking to another thing...
When I installed Ampache on my server, I also had to check the config of MySQL ("my.ini" under windows or "my.cnf" under Linux).
The "strict mode" was enabled and I had to remove it so as to have a correct install.
Maybe you can look at it...

Last edited by eagle (2008-03-04 11:12:48)

Offline

 

#11 2008-03-05 10:22:05

vollmerk
Lead Developer
From: Corvallis, OR
Registered: 2004-09-25
Posts: 3091
Ampache Version: Newer then SVN
MySQL Version: 5.x
PHP Version: 5.2.x
Reputation :   38 
Website

Re: Language Settings (German)

Make sure you have the correct charsets installed....

Offline

 

#12 2008-03-08 12:59:10

Pikeman
Member
From: Germany
Registered: 2008-03-02
Posts: 4
Ampache Version: 3.3.3.5
MySQL Version: 5.0.32
PHP Version: PHP5
Reputation :   
Website

Re: Language Settings (German)

Hi,

the charset is installed!
In the german language we use some characters like ä,ö,ü and so on.
On other Sites, these characters are displayed correct.

By the way, what charset do I need for AMPACHE and the german language plugin??

Thx for help.

Greets

Pikeman

Offline

 

#13 2008-11-13 10:10:32

raymonvdm
Member
From: Netherlands
Registered: 2008-11-13
Posts: 1
Ampache Version: 3.4.2
MySQL Version: 5.0.32
PHP Version: 5.2.0-8+etch13
Reputation :   

Re: Language Settings (German)

I have the same problem i have installed ampache on a debian etch server

But when i change the language in ampache nothing happens.

When i test with a phpinfo file it says that gettext support is enabled

gettext
GetText Support     enabled

When i change the language i see this error in ampache debug log

2008-11-13 19:09:29 { raymon } ( error ) - [Runtime Error] mysql_num_rows(): supplied argument is not a valid MySQL result resource on line 122 in /var/www/ampache.sitename.nl/lib/class/dba.class.php

Offline

 

#14 2008-11-13 18:53:15

momo-i
Fan
From: Japan
Registered: 2008-07-15
Posts: 34
Ampache Version: always svn
MySQL Version: 5.0.67
PHP Version: 5.2.6
Reputation :   

Re: Language Settings (German)

Hi,

Only UTF-8.

Is what you cannot display the translated word? Or is it the word inputted into databases, such as a tag?

If it is translated word, please ensure that ampatch.cfg.php and httpd.conf are set up correctly.

ampache.cfg.php
site_charset = UTF-8

httpd.conf
IndexOptions Charset=UTF-8
Note: httpd version > 2.0.6x, IndexOptions Charset=UTF-8 is required in httpd.conf.

If it is id3tags into database, it is ampache's bug for multi byte charcters.

Pikeman wrote:

Hi,

the charset is installed!
In the german language we use some characters like ä,ö,ü and so on.
On other Sites, these characters are displayed correct.

By the way, what charset do I need for AMPACHE and the german language plugin??

Thx for help.

Greets

Pikeman


I'm not good at English :(
So, I'm studying English little by little, translating.
I'm sorry that my English is strange. :(

Offline

 

Board footer

Powered by PunBB and MyBestBB

range