multilingual/spec
From twext
|
most recent spec is at i18n
[edit] .twx.twx is maybe we turn titles into somekinda database so we define and find data in a ..numbered namespace.. ..n..twx ..0..1..2..3..4..twx ..what..where..when..who..etc..twx ..title..langs..time..editors..tags..twx ..long_honkin_title..ENGLISH.espanol..200714.093422.1..waqas,duke..file_system,spot,meaningful_url,twexter,db..twx above could easily print reports: 0: title: LONG HONKIN TITLE 1: langs: ENGLISH.espanol 2: clock: 200714.093422,1 3: edits: waqas, duke 4: mtags: file system, spot, meaningful url, twexter, db search could focus on specific ..n.. to find tags or whateva.. <ignore>..bla..yawn..zzz..</ignore><BLINK>3</BLINK>..zzz..bla.. [edit] timestamptimestamp per save provides single point of truth in memory.. so a .twx file needs not title (..0..) thus can maybe serve dichos and citage..
[edit] mtagstags (google labels) categorize info.. can simple markup make tags meta? a;author o;owner
so, if ..4.. = ..mtags.. then in ..4..: ..l;link,c;credit,a;author,l;loop,w;whateva.. simple arrays ? include language_ID: x;ENGLISH,xx;espanol ?? [edit] translatableif 1A=A3 2B=B1 3C=C2 then 1=3 2=1 3=2 so could be rearranged right to left: ..who..tag..when..where..what..twexml disorder, reordered: ..etc..what..where..who..when..twexml ..3..2..1..0..twx [edit] feedbackroberto liked it.. waqas?
scroll down for usr/login routine mockup, comments
waqas: login doesn't need to be a tab
waqas: editor doesn't have to be a tab
above is rough sequence for visitor who creates account
[edit] SAVE (and search) titlesbasic twexter lets users try simple interface.. to get twext multilingual and findable, users need to SAVE files, probably with TITLES and hopefully with TAGS.. [edit] XULevert says XUL is way to go.. i'm still trying to figure all this stuff out.. [edit] XMLideal format will be flexible and searchable.. this may be already be happening with zeen's deliver of basic twexter :) if so, then we can add features to our xml output.. [edit] XSLT"flexible" meaning easy to let other programs read data in saved file, as a single point of truth with variable output: then convert to various formats: sounds like this happens w/ XSLT.. zeen say ok=) [edit] searchable?you tell me.. sounds like XML lets us define new doc type, then perform searches to find only our new type of doc.. even filter specific searches within our new doc type.. if so, our new xml doc type might implement some features: [edit] language identificationgive user option to identify languages of TEXT and twext parts of saved file.. for example, within a document,
if someone is in brazil learning kiswahili, they'll want to find twext docs with big kiswahili TEXT supported by little twxt in portugues.. the design should anticipate trilingual and multilingual content within a single document.. at a root level, we might try to avoid being trapped by categories [edit] tagslet user simply add tags and maybe somekinda shortcut smart tag.. tags are good because data isn't trapped by categories.. categories are good because they help sort data.. tags are a great example of being able to categorize data without trapping it in some freaking folder somewhere.. we should find an easy, flexible way to include and modify tag info in our xml docs..
idea is to make it easy to tag a twext file w/ info easy to sort.. ie if line starts with "x;" then doc may include translator info repeat: i'm new to xml so this may sound real stupid..
[edit] title3rd in line.. titles are useful, but tags might be more useful.. especially in the context of delyric citage.. another type of title-less twext object may be dichos (simple quotes).. maybe titles could just be tags? please don't hurt me [edit] twext folders?twext folders is an old idea to store source files in folders.. it's stoopid which may be a good thing™.. and clunky which may be a bad thing™.. twext folders is probably way outdated.. replaced by xml.. the point was and is do not trap data in programs, databases, prioprietary or free.. the beauty of html and txt is they're platform independent.. truly free representations of twext folders might be useful for kids using wixi.. [edit] SLOP select language options menusSelect Language Option Menus might be DHTML trick.. basically, drop down menus loaded with user_pref langauges.. i've seen some work very well, others not.. so maybe two ways to go:
SLOP lets user Select Language OPtions. slop uses dynamic menus: twexter responds to changes in either menu instantly, with no need for any additional input button. the interface language is controlled by the twext_slop_menu on the left. so if user changes twext_slop_menu from english to español, then interface language changes from english to español on the right, the TEXT_slop_menu controls the TEXT language; this menu directs search queries, chunktext inputs or format fetches to internal xml format so if user changes TEXT_slop_menu from ESPAÑOL to ENGLISH, queries, fetches and inputs will interact with xml the TEXT_slop_menu does not control the interface language, but make one exception: the word for "TEXT" (left of TEXT_slop_menu) should be in language selected by TEXT_slop_menu. confusing? either eliminate "twext" and "TEXT" labels (rely on lowercase in twext_slop and UPPERCASE in TEXT_slop) or just go DHTML: solutions must be robust, bug-free, strong on most browsers and work with unicode. if in any SLOP MENU user selects "+" temporarily save user input, so user can be sent back to page without losing input then send user to prefs: [edit] XPREF twext user preferencesto multilingualize, we need to identify languages.. adding languages to twext will hopefully be very easy, so many languages, even dialects, slangs, hybrids may be added.. too many.. users are likely to want to exclude many languages from their twext interface.. users may also want to control personal preferences for format, style and output of twext text between any two languages.. http://twext.cc/dev-old/xo/control.html shows ancient attempt at user preferences interface.. soon regurgitating here.. [edit] FINDhopefully "internal xml" output will produce flat files that, if stored in urls, can easily be searched with your favorite search engine.. hopefully, we can add tags to such "internal xml" output to filter searches by language, author, translator, generic tags, etc.. is this possible with xml output we're defining?
question re: naming convention
twext is meaning lots of things..
what should we call "twext internal xml ouput"? xxml? xmlx? twexml? twextxml?
[edit] ADDLANG add languages to systembefore adding langs to twext, user should be able to
addlang should cost minimal user work, and avoid being trapped by categories.. when preview, save, prefs, find, slop work, then we can add languages to twexter: all above features can work with xlyric script which formats lyrics only.. above stuff working in a complete system will turn songs into language teachers and work between many language pairs.. [edit] XTEXT twext line break format scriptafter above complete, then the kicker: twext line breaks will work with normal texts.. in all kindsa different window sizes.. feel free to make xtext script earlier.. if i gotta pay for it, i wanna see addlang as soon as possible :)
[edit] iDNSidns they say is coming, i hope they're right, 'cuz i am a nut for meaningful urls.. it'd be nice to save titles you could just type into the url.. might work with somekinda a search function or conflict resolver.. idns is probably a deeper layer for a separate bid xc.cx |
|








