[geeklog-devel] CrowdTranslation plugin
Niemans
niemans at nlbox.com
Sun Jun 16 17:55:50 EDT 2013
> At this point I am thinking of a table like:
> Language| Array | Array_Key| Translation
> German |LANG01 | 2 | mehr
Add the full language filename, i.e. "dutch_utf-8"
Take the full array name, abbreviate only in the GUI.
Add the plugin name; we will need a approved list, i.e. core, forum, links etc.
Add the id or credentials received from the main site; we'll need it when merging with the main site
Add the permission items of Geeklog
Add the (local) userID for tracking
Add a timestamp
Add a count (likes)
Wim
Op 16 jun. 2013, om 23:23 heeft Benjamin Talic het volgende geschreven:
> >My first guess would be that the language items would be present in the database.
> At this point I am thinking of a table like:
> Language| Array | Array_Key| Translation
> German |LANG01 | 2 | mehr
>
> Then the packing is done by finding all the entries of the same language and adding them to the correct arrays to produce a php file like
> the ones currently provided with Geeklog.
>
> >So, anybody can register (at the main site) for a translation, receives some credentials to load in his/hers local database which could be checked by the plugin
> I like this idea. Until now I guessed that anyone could send a translation to some kind of master database. The translations would be filtered there, and packed for deployment later on.
>
>
> >Besides Geeklog is it the plan to allow the crowd sourcing translation plugin to translate other plugins (like the core plugins, forum or even itself)?
> Since I don't know of any other way I thought of mapping all the LANG array names inside a php file, something like $lang_arrays=array($LANG01, $LANG03, $LANG04); to enable the plugin to access them later on. I would also add the core plugins to the file. Later on, an API could be made so that developers who want to enable translations would have to create a similar file for their plugin.
>
> So the agreement is to allow users to add any language they like?
> How about adding a bit of jQueryUI magic, do that the input field for the language has auto-complete, that way we could at least reduce the possibility of creating redundant(misspellings) languages.
>
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist8.pair.net/pipermail/geeklog-devel/attachments/20130616/d7236093/attachment.html>
More information about the geeklog-devel
mailing list