Recent

Author Topic: [SOLVED] Translation of month names to Hebrew  (Read 12112 times)

wp

  • Hero Member
  • *****
  • Posts: 13270
Re: [SOLVED] Translation of month names to Hebrew
« Reply #15 on: December 18, 2013, 04:33:51 pm »
Hoping that you get well soon

CM630

  • Hero Member
  • *****
  • Posts: 1559
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: [SOLVED] Translation of month names to Hebrew
« Reply #16 on: December 19, 2013, 08:26:54 am »
Just to put an final point to the topic- if languages, other that Hebrew are uses, care shall be taken about capitalization.
For example, if s_BG stands for Bulgarian, you should use:
  s_BG := lowercase(ConvertEncoding(FormatDateTime('mmmm', Date, fs), cp, EncodingUTF8));
because Windows generates the first day with a capital letter, an they shall be written with a regular one. On the other hand, for English you should not use lowercase.

Лазар 4,4 32 bit (sometimes 64 bit); FPC3,2,2

wp

  • Hero Member
  • *****
  • Posts: 13270
Re: [SOLVED] Translation of month names to Hebrew
« Reply #17 on: December 19, 2013, 10:46:39 am »
Is there a setting on capitalization somewhere in the formatsettings or similar?

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: [SOLVED] Translation of month names to Hebrew
« Reply #18 on: December 19, 2013, 11:01:04 am »
Care should be taken during the translation of the text not after and certainly not when the text is loaded. The library that handles the loading should not have any logic that has nothing to do with the loading.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018