Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: In registration: Optional information fields doesn't translate  (Read 3766 times)

0 Members and 1 Guest are viewing this topic.

krampo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • attic

When you try to register in other language than English, you get "Optional information" in your language, but all the fields (Location, Interests, ...) are still in English. I even downloaded clean cpg1.4.8 version, it's the same.

you can try to switch languages @ http://photo.krampo.info
« Last Edit: April 25, 2007, 07:42:26 am by GauGau »
Logged

Nibbler

  • Guest
Re: In registration: Optional information fields doesn't translate
« Reply #1 on: July 13, 2006, 05:12:23 pm »

The optional fields are user settable in config.
Logged

krampo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • attic
Re: In registration: Optional information fields doesn't translate
« Reply #2 on: July 13, 2006, 06:54:29 pm »

But why then they are in language file?
Logged

Nibbler

  • Guest
Re: In registration: Optional information fields doesn't translate
« Reply #3 on: July 13, 2006, 08:43:48 pm »

They are probably left over from 1.3. Nothing to worry about.
Logged

loot

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: In registration: Optional information fields doesn't translate
« Reply #4 on: April 19, 2007, 06:45:34 pm »

it is possible to translate die optional fields lfor example location<>Wohnort
i think the settings in the admin menu will be written into the sql database.
thx in advance

greetings loot
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

loot

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: In registration: Optional information fields doesn't translate
« Reply #6 on: April 24, 2007, 02:50:49 pm »

hi,

thx for answering gaugau
But my question ist:
is there i possiblility to switch the userprofile like "Location" for mysite.com and mysite.de "Wohnort".
I think the prob is,that the description of that fields arent in language files.
Maybe i have to edit the sql query for that ...but how ?

thx in advance

greetings

loot

 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: In registration: Optional information fields doesn't translate
« Reply #7 on: April 24, 2007, 05:42:11 pm »

If you have a multilingual site (i.e. users both from Germany as well as international users speaking English), then you're right: the field labels don't translate, as the names reside in the database. Basically, everything that exists as textual content in the database goes untranslated - that's the case both for custom field names as well as image titles or descriptions. So you have the dilema not only for those field names, but for all content. The only easy workaround I could think of is labelling the fields in both languages (i.e. "Location/Wohnort"). Other solutions are doable but hard to accomplish (as they would require a lot of coding).
Logged

loot

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: In registration: Optional information fields doesn't translate
« Reply #8 on: April 25, 2007, 12:17:41 am »

hi,


jo ..all the other content i managed with :
<?php

switch ($CONFIG['lang']) {
   case 'english':
      echo '<a href="rules.php" align="center" target="_self">[Rules]</a> <a href="imprint.php" target="_self">[Imprint]</a></a> <a href="ppolicy.php" target="_self">[Privacy Policy]</a>';
   break;
   
   case 'german':
      echo '<a href="rules.php" align="center" target="_self">[Regeln]</a> <a href="impressum.php" target="_self">[Impressum]</a></a> <a href="datenschutz.php" target="_self">[Datenschutzerkl&auml;rung]</a>';
   break;
   
   default:
      echo '<a href="rules.php" align="center" target="_self">[Rules]</a> <a href="imprint.php" target="_self">[Imprint]</a></a> <a href="ppolicy.php" target="_self">[Privacy Policy]</a>';
}

?>


ill try a second register.php
maybe i can find ich workaround

thx for your help

greets,loot
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.