mwvdlee ·
I just wanted to do a unixtime-to-time splitter, but it ended up being something that I think people may be interrested in;
Translation modules which should help you support multiple languages more easily.
I'm sure it can be improved upon, and most certainly actual localization of things like number formats and date/time display are currently outside the scope, so please go ahead and change at will 😉
Since the braindead settings of this forum do not allow uploading of .txt files, here's the content of the file en.txt and nl.txt required to test this one: nl.txt
# Generic OK=Okay CANCEL=Annuleren
# File OPEN=Openen SAVE=Opslaan SAVEAS=Opslaan als... PRINT=Afdrukken QUIT=Sluiten
# Audio FREQUENCY=Frequentie VOLUME=Volume PHASE=Fase
# S&R test CONFIRM_ACTION=Wilt u bestand "%2" %1? ACTION_DELETE=verwijderen ACTION_RENAME=van naam veranderen
# Day-of-week DAY_OF_WEEK_0=Zondag DAY_OF_WEEK_1=Maandag DAY_OF_WEEK_2=Dinsdag DAY_OF_WEEK_3=Woensdag DAY_OF_WEEK_4=Donderdag DAY_OF_WEEK_5=Vrijdag DAY_OF_WEEK_6=Zaterdag
# Months MONTH_0=Januari MONTH_1=Februari MONTH_2=Maart MONTH_3=April MONTH_4=Mei MONTH_5=Juni MONTH_6=Juli MONTH_7=Augustus MONTH_8=September MONTH_9=October MONTH_10=November MONTH_11=December
en.txt
# Generic OK=OK CANCEL=Cancel
# File SAVE=Save OPEN=Open SAVEAS=Save as... PRINT=Print QUIT=Quit
# Audio VOLUME=Volume PHASE=Phase FREQUENCY=Frequency
# S&R test CONFIRM_ACTION=Do you want to %1 file "%2"? ACTION_DELETE=delete ACTION_RENAME=rename
# Day-of-week DAY_OF_WEEK_0=Sunday DAY_OF_WEEK_1=Monday DAY_OF_WEEK_2=Tuesday DAY_OF_WEEK_3=Wednesday DAY_OF_WEEK_4=Thursday DAY_OF_WEEK_5=Friday DAY_OF_WEEK_6=Saturday
# Months MONTH_0=January MONTH_1=February MONTH_2=March MONTH_3=April MONTH_4=May MONTH_5=June MONTH_6=July MONTH_7=August MONTH_8=September MONTH_9=October MONTH_10=November MONTH_11=December