Author Topic: Localization of Variables  (Read 516 times)

Offline sillert

  • Newcomer
  • *
  • Posts: 2
    • View Profile
Localization of Variables
« on: July 16, 2017, 01:15:58 pm »
Hello,

it would be a great addition, to have localized versions of the time and date related fields. As an example the month name should be available to be used as the German version when naming folders. Since any operating system has string utilities to do that, it should not be a big problem to implement. I've got no problem with PM being in english, but I'd like to have localized folder names since that interferes with localized apps.

Best regards,
Sven

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 17922
    • View Profile
    • Camera Bits, Inc.
Re: Localization of Variables
« Reply #1 on: July 16, 2017, 06:03:06 pm »
Eventually all of PM will be localized, but in the meantime, you can use Code Replacement to translate the output of variables that return known values like month names, days of the week, etc.

http://wiki.camerabits.com/en/index.php/User_Manual_Flat_View#Code_Replacement

-Kirk

Offline sillert

  • Newcomer
  • *
  • Posts: 2
    • View Profile
Re: Localization of Variables
« Reply #2 on: July 18, 2017, 09:06:15 am »
Oh, thanks Kirk! Nice to see that PM is that powerful. Of course it would be nice if it was localized by default, but at least this is a viable workaround. Will test it today!