SFD:

SFD Countdown

Currently available in: English

Needs help for translation: Portuguese-Portugal - Portuguese-Brasil - Swedish - Swahili - Ukrainian - Spanish - Catalan - Français - German - Simplified Chinese - Traditional Chinese

In order to enable a additional language here is the process:

  1. Download source files or create your own based on it. We've used VDS Fonts and Averia fonts on top of the SFD specific logo fonts. For Chinese we're using the AR PL Sungtil GB and Noto Sans CJK SC.

  2. If you're translating while there are still more than 99 days left:
    • Generate 99 'days' +3 banners: max date left down to 01 countdown, a 'get ready for', a 'today' one and a 'see you next year' one
  3. If you're translating and the coundtown has already started:
    • Generate as many days left +2 banners: max date left down to 01 countdown, a 'today' one and a 'see you next year' one
  4. Create a <insert you language code here> sub-page, if it doesn't exist yet and upload all your png images (and translated source files eventually, tar.gz or zipped). Just overwrite the old files and keep the source file of previous years (add the year in the file name)

  5. Email the sfd-discuss@ or localization@ mailing list letting us know, so we can add one language to the script

Check the English sub-page to verify what is exactly needed, files names and correct size (160x90).

Since we are a global celebration it was important to support the various time zones spreading from UTC-12 to UTC+14 and various languages. Now we have a strong base done for a few languages but we can only add more.

So for someone wanting to add the English version of the countdown and living at UTC-4 (EDT) the link to the banner will be:

<a href="https://www.softwarefreedomday.org/"><img src="https://www.softwarefreedomday.org/countdown/banner1-UTC-4-en.png" border="0" width="300" height="300" alt="Celebrate SFD with us on September 16, 2023!"></a>

The code that we are using is available here.

Embedding javascript in an SVG file is not supported by many browsers. It is possible to embed SVG and javascript in a single HTML page though. This way, it is possible to have an iframe containing the dynamic content (or you can embed the code in your own page).

<iframe height="500" width="500" src="https://www.softwarefreedomday.org/launch/eo_XX_sfd_liftoff.html"></iframe>

Set width and height to the same value, which will depend on the space you have at your disposal. The above iframe will show the Esperanto version of the banner (eo-XX). There are already a few language versions available:

If you want to create your own translation, the Esperanto vesion is a good one to start from.


CategoryMarketing -

SFD: CountDown (last edited 2023-08-07 15:56:43 by JurgenGaeremyn)