Skip to main content
Known Participant
December 19, 2024
Question

Re: Date Setting in Japanese

  • December 19, 2024
  • 2 replies
  • 641 views

Hi Dave,

 

I happen to have a minor issue related to creation date, too.

I maintain two documents in different language, one being Japanese. 

The creation date works perfectly in English font, but after I format the creation date with Japanese font it lost the string month. What should I do to have creation date prints out the month in Japanese?

In EN font, the date would be April 2011. But here in JP font, it becomes simply '4 2011'

 

Regards,

Andy

    This topic has been closed for replies.

    2 replies

    Bob_Niland
    Community Expert
    Community Expert
    December 19, 2024

    What data object is the creation date in the FM document?

    There's not really any such thing as an "EN" or "JP" font.
    Those are usually just ISO language codes.
    The month abbreviation would be different codepoints for
    English (April 2011) and {per Google}
    Japanese (2011年4月).
    If the font in use doesn't populate 年 (U+5E74) and 月 (U+6708), it might render as "2011 4".

    Known Participant
    December 20, 2024

    Hi Bob,

     

    I'm not quite understand what is data object of creation date.

     

    I was simply using the built-in system variable Creation Date (Long): <$monthname> <$year>

     

    The fonts I use are Calibri and Yu Gothic. 

    1. Your ISO codes seem accurate, and I have it on my font set. How come FM doesn't print them out?

    2. I've tried to add these characters into the system variable, but FM simply removed them after input.

    Bob_Niland
    Community Expert
    Community Expert
    December 20, 2024

    Creation Date (Long) or Creation Date (Short) are System Variables, composed of pre-defined FM building blocks, such as:
    ‹$monthnum›
    For dates, I see that there are various options for Asian locales, such as (for month):
    ‹$monthnumkanjikazu›

    I don't actually know whether FM has a global control for localizing date formats. The
    Paragraph Designer /Font\ Language
    setting, for example, doesn't seem to do anything.

    Dave Creamer of IDEAS
    Community Expert
    Community Expert
    December 19, 2024

    @Andy38108926n5yf Unfortunately, that problem is above my paygrade...

     

     

    David Creamer: Community Expert (ACI and ACE 1995-2023)
    Known Participant
    December 20, 2024

    I'm quite surprised, for such a formidable publishing software FM still requires too much efforts to solve such mundane tasks.