Post Reply 
periodic Element Table - call for translators
01-16-2017, 12:09 AM (This post was last modified: 01-16-2017 12:21 AM by primer.)
Post: #3
RE: periodic Element Table - call for translators
Hi Han,
(01-15-2017 10:27 PM)Han Wrote:  There is at least a French and English periodic table here:
yes I know...
But I built this one as being easily translatable. There are no if/then/else structure all along the program to handle only 2 languages, that would make it hardly maintable.

The program I provide is easily translatable by design, and will follow user system language. Of course it require work to fill all 118 elements and few User Interface strings, but it's grouped at grogram start.

For example, at line 49, you have each UI strings associated with a uniq ID, for example :
to add a new language, one can simply add :
and set german as 3rd language in map, line 13
local lang:={1,1,2,3,1,1,1,1}; // language mapping 1:En 2:Fr 3:Ger

I push my efforts mostly on maintenability (translation, scroll system from this template....)
My wish (if I forgot comments like "yet another one"...) is to motivate people to translate in their language. Then we could provide an element table in any user language, that would increase user experiance. Hence my post title : "call for translator".

There are also, few other small reasons why I made another program. Technically, I feel the scrolling feature from other elements apps is not perfect (a little laggy). Also, I wanted to have electron layer information (K,L,M...). State of matter is dynamical computed (that allow interresting things to be done)...

note : This is still beta version, loading time will be improved by converting translation string into its final format (the current format ease the transation addition, but it's converted at loading time, which will be avoided in the future)

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: periodic Element Table - call for translators - primer - 01-16-2017 12:09 AM

User(s) browsing this thread: