Translation status overview
drewish - April 22, 2008 - 07:39
| Project: | Internationalization |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | drewish |
| Status: | closed |
Description
For a site I'm working on we needed a way to quickly determine the status of the translations on the site. The attached module is what we came up with. I'd love to contribute it back to the i18n project but if you don't think it'd be a good fit I can submit it as a new project.
| Attachment | Size |
|---|---|
| status_current.png | 273 bytes |
| status_missing.png | 229 bytes |
| status_original.png | 296 bytes |
| status_outofdate.png | 236 bytes |
| i18noverview.info_.txt | 191 bytes |
| i18noverview.module.txt | 9.1 KB |

#1
here's a screen shot to give a feel for how it works.
#2
Module screenshot looks cool ;) I'd center the icons, and I am not entirely sure the untranslated icon is sufficiently different to the outdate translation icon, although the idea to have full icons for work to do makes lots of sense.
#3
yeah, i'm not totally set on those icons. originally i was just using unicode characters for those icons. i picked them from the subset of those that seemed to work on OSX but then realized that they weren't showing up on all browsers and just rendered them as PNGs. the main goal was to provide a visual distinction between those needing work (dark) and those that are finished (lighter), i'm open to other suggestions.
#4
here's a screenshot of the per-language tabs.
#5
Hi Drewish, this looks really great.
And it will be welcomed in i18n package if you think it's the best place for it. However I'm considering whether it would make more sense to split it in more modules, as some of they are just dependant on Drupal core languages, actually there are some spin off candidates in the package, like the languageicons module and some others so they can be shared with other multilanguage set ups.
I guess I should talk with the other module maintainers about this....
About the icons it looks great right now, I think anything should be ok as long as they're cross browser compatible, the simpler the better, I think even using black/white squared boxes would make it more readable (maybe not that nice though :-) )
For the language list, language codes are not always that obvious, maybe vertical language names (so they fit in the table) or even using the languageicons module when enabled would make it look nicer/easier to see.
#6
Jose, I'd be fine with either spinning it off as a separate module or including it with i18n. The benefit to keeping it in with i18n is that it's already the goto project for all things. Just let me know what you and the other maintainers would like to do.
As for the language list, you're right it's hard to guess which is which but when you've got as many languages installed as we do there's just not room to spell them out. I'm not sure that the flags would be too much better, most of them are pretty small and hard to read without text accompanying them. If there was CSS for rotating the text was supported in most browsers that would be the idea way to do it but I don't know if it's possible.
#7
Fixed a bug that was linking current translations to to original node.
Split the status image into its own theme function to make it easier to override.
#8
subscribe
sweet module, thanks drewish
#9
@drewish
I've added the module to the i18n package. Also, added you to the cvs access list so you can maintain the module in there.
Thank you.
(Still not sure what to do about repackaging and spinning off some modules. People should be able to enjoy this nice module in the meanwhile though :-) )
#10
Automatically closed -- issue fixed for two weeks with no activity.