#acl AdminGroup:read,write,admin ModeratorGroup:write,read,delete All:read = SFD Countdown = == Dynamic link to external image == Currently available in: [[CountDown/en|English]] Needs help for translation: [[CountDown/pt|Portuguese-Portugal]] - [[CountDown/pt_br|Portuguese-Brasil]] - [[CountDown/sv|Swedish]] - [[CountDown/sw|Swahili]] - [[CountDown/ua|Ukrainian]] - [[CountDown/es|Spanish]] - [[CountDown/ca|Catalan]] - [[CountDown/fr|Français]] - [[CountDown/de|German]] - [[CountDown/zh_CN|Simplified Chinese]] - [[CountDown/zh_TW|Traditional Chinese]] * Design changed a few years back so maybe you need to redo all images (99) or maybe only the 01.png, 00.png, 00here.png where there is a date. Languages left to be done: [[CountDown/sr|Serbian Cyrillic]] - [[CountDown/sh|Serbian Latin]] - [[CountDown/ru|Russian]] - [[CountDown/et|Estonian]] - [[CountDown/fa|Persian]] - [[CountDown/ar|Arabic]] - [[CountDown/el|Greek]] In order to enable a additional language here is the process: 1. Download [[attachment:CountDown/en/countdown_source2021.svg|source files]] or create your own based on it. We've used [[http://openfontlibrary.org/font/vds|VDS Fonts]] and [[http://openfontlibrary.org/font/averia/|Averia fonts]] on top of the [[Logo|SFD specific logo fonts]]. For Chinese we're using the [[https://ftp.gnu.org/non-gnu/chinese-fonts-truetype/gbsn00lp.ttf.gz|AR PL Sungtil GB]] and [[https://www.google.com/get/noto/#sans-hans|Noto Sans CJK SC]]. 1. 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 1. 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 1. Create a 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) 1. Email the sfd-discuss@ or localization@ mailing list letting us know, so we can add one language to the script Check the [[CountDown/en|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 [[http://en.wikipedia.org/wiki/List_of_time_zones_by_UTC_offset|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: {{{ Celebrate SFD with us on September 16, 2023! }}} The code that we are using is [[CountDown/code|available here]]. == SVG dynamic version to embed or link to == 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). {{{ }}} 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: * German version: de_DE_sfd_liftoff.html -> [[attachment:de_DE_sfd_liftoff.html]] * (US) English version: en_US_sfd_liftoff.html -> [[attachment:en_US_sfd_liftoff.html]] * Esperanto version: eo_XX_sfd_liftoff.html -> [[attachment:eo_XX_sfd_liftoff.html]] * Spanish version: es_ES_sfd_liftoff.html -> [[attachment:es_ES_sfd_liftoff.html]] * Farsi version: fa_IR_sfd_liftoff.html -> [[attachment:fa_IR_sfd_liftoff.html]] * French version: fr_FR_sfd_liftoff.html -> [[attachment:fr_FR_sfd_liftoff.html]] * Japanese version: jp_JP_sfd_liftoff.html -> [[attachment:jp_JP_sfd_liftoff.html]] * Dutch version: nl_NL_sfd_liftoff.html -> [[attachment:nl_NL_sfd_liftoff.html]] * Romanian version: ro_RO_sfd_liftoff.html -> [[attachment:ro_RO_sfd_liftoff.html]] If you want to create your own translation, the Esperanto vesion is a good one to start from. ---- CategoryMarketing -