#694: Translations scaffolding
------------------------+----------------------
Reporter: olemis | Owner: olemis
Type: task | Status: assigned
Priority: minor | Milestone:
Component: trac core | Version: 0.7.0
Resolution: | Keywords: i18n
------------------------+----------------------
Comment (by olemis):
Replying to [comment:59 SaintGermain]:
> Hello Olemis,
>
Hi !
:)
> 1. I'm not sure to understand. For instance the widget title "Active
Tickets" is defined in bhdashboard
Yes , the point is how to do the same thing (translation of widget titles)
for a widget implemented outside {{{BloodhoundDashboard}}} plugin i.e. a
different i18n domain ? This is something I'd like to use now for some BH
widgets packages implemented elsewhere .
> and the translation is correctly picked up from bhdashboard catalog (not
bhtheme catalog)
sorry , a typo in my previous comment , I meant `bhdashboard` .
> 1. Can you elaborated on why the translation happen twice ? If I don't
explicitely call gettext, I don't see how we can translate twice ?
sometimes the widget title outputted by {{{render_widget}}} is already
translated and translation process is (unnecessarily) attempted once again
> 1. I'll check !
ok , jftr when the repos is configured correctly it does work
> 1. Yes if you remember the issue I had 2 days ago it was the same
problem: some sort of translation domain caching. I think I know why. I'll
try to correct.
>
> For bhtheme_fr: I don't see your commit, did you push it ?
Yes . Indeed as I'm writing this message I'm pushing a new version of the
patches fixing owner translation in global /dashboard .
I've also detected a number of enhancements needed in (e.g milestone)
dashboards . Including
[[Image(bh_widgets_x_151_i18n_milestone.png)]]
- Ticket group stats labels not translated
- Product column caption not translated
- Alert labels not translated
* ... and alert text rendered outside container , sometimes truncated
- Too much space under Activity header
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/694#comment:60>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker