Author Topic: Language in IPTC-Variables  (Read 3002 times)

Offline Sven

  • Uber Member
  • ******
  • Posts: 1053
    • View Profile
Language in IPTC-Variables
« on: February 18, 2011, 11:35:28 PM »
Hi @ all!

I am running 4.6.7 Beta 3. I also had the following "issue" with 4.6.7 on a MAC with OS 10.6.6

During FTP-upload to a specific agency I am applying an addition to the caption.
Code: [Select]
{iptcday0}{iptcmonth0}{iptcyear4} / {iptcyear4} / {category} / {iptcdow} / {suppcat1} / DFB / SpVgg Unterhaching vs {editstatus} / Aktion / {city} / Deutschland / Europa
Here is the output after uploading the image:
Code: [Select]
05022011 / 2011 / SPO / Saturday / Fussball / DFB / SpVgg Unterhaching vs VfR Aalen / Aktion / Unterhaching / Deutschland / Europa
As I am using the OS in German language I "hoped" to see the {iptcdow}-variable in German language (Samstag) and not in the English language (Saturday).
Anything I missed or is this "by design"?
Any plans to add localization in the future?

BR
Sven
After 5 years of absence I restarted the photography.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Language in IPTC-Variables
« Reply #1 on: February 19, 2011, 07:02:43 AM »
Sven,

I am running 4.6.7 Beta 3. I also had the following "issue" with 4.6.7 on a MAC with OS 10.6.6

During FTP-upload to a specific agency I am applying an addition to the caption.
Code: [Select]
{iptcday0}{iptcmonth0}{iptcyear4} / {iptcyear4} / {category} / {iptcdow} / {suppcat1} / DFB / SpVgg Unterhaching vs {editstatus} / Aktion / {city} / Deutschland / Europa
Here is the output after uploading the image:
Code: [Select]
05022011 / 2011 / SPO / Saturday / Fussball / DFB / SpVgg Unterhaching vs VfR Aalen / Aktion / Unterhaching / Deutschland / Europa
As I am using the OS in German language I "hoped" to see the {iptcdow}-variable in German language (Samstag) and not in the English language (Saturday).
Anything I missed or is this "by design"?

It's by design since PM has not been localized yet.

Quote from: SK-Foto
Any plans to add localization in the future?

We've wanted to do that for a long time, but we're going to have to grow the size of the company before we can afford to do it.

In the meantime, you could use Code Replacement to achieve your own limited localization:

Sunday[tab]Sonntag
Monday[tab]Montag
Tuesday[tab]Dienstag
Wednesday[tab]Mittwoch
Thursday[tab]Donnerstag
Friday[tab]Freitag
Saturday[tab]Samstag

Then in your caption put your Code Replacement delimiters around the {iptcdow} variable (by default they're '\'):

\{iptcdow}\

And if you've loaded the above Code Replacement file into PM then you'll get the German translations.

HTH,

-Kirk

Offline Sven

  • Uber Member
  • ******
  • Posts: 1053
    • View Profile
Re: Language in IPTC-Variables
« Reply #2 on: February 19, 2011, 07:10:22 AM »
Thanks Kirk.
This solution was to easy to get it by myself...

BR
Sven
After 5 years of absence I restarted the photography.

Offline vAfotoriporter

  • Uber Member
  • ******
  • Posts: 1046
    • View Profile
    • Attila Volgyi photojournalist
Re: Language in IPTC-Variables
« Reply #3 on: February 20, 2011, 10:19:15 PM »
Thanks Kirk.
This solution was to easy to get it by myself...

BR
Sven

It is often the case with PM: solution too simple to think of it.
,-))
Working on Mac, OSX, iOS and with some Canons.
Allways shooting RAW.

http://www.volgyiattila.hu