Not necessarily of much help, but I also have a database where the translations fail to display (rebooting is of no help). Not sure how to investigate what is wrong.
Knut On 20 Dec 2015 8:59 am, "David Hagan" <david.ha...@sagehagan.com> wrote: > A further note to the self: > > Don’t assume! I assumed the objectclass for the import file would be > ‘organisationUnit’ … but no, it’s ‘OrganisationUnit’ … :-) … and thus the > apparent no-show through the UI. > > Just a note though, if the objectless ‘doesn’t exist’ during an API > import, perhaps the validation checks for the import should reject those > items? > > The other part of the challenge (seeing the org unit translations when you > select the database locale ) hasn’t resolved itself even after a restart. > > Cheers > > David > > > On 20 December 2015 at 07:10, David Hagan <david.ha...@sagehagan.com> > wrote: > >> Ahhh-haaaa, >> >> Ok, a nice little gotcha to add to my little book of DHIS2 >> tips-for-newbies! >> >> David >> >> On 19 December 2015 at 23:32, Morten Olav Hansen <morte...@gmail.com> >> wrote: >> >>> Hi >>> >>> One gotcha you need to be aware of, is that we have an internal >>> optimisation which is triggered if there are no translation available for a >>> type, and this is checked on startup. So if you add a translation for a >>> -new- type (i.e. adding translation to org units, and you had none before), >>> you will need to restart your server. >>> >>> -- >>> Morten >>> >>> On Sat, Dec 19, 2015 at 11:11 PM, David Hagan <david.ha...@sagehagan.com >>> > wrote: >>> >>>> Hi there, >>>> >>>> I seem to be having no end of challenges with linking/viewing imported >>>> translations for Organisational Units on the following implementation: >>>> >>>> Version: 2.21 >>>> Build revision: 20895 >>>> >>>> We set this version up of a tri-language Ukrainian/Russian/English >>>> implementation (that is mobile-tracker focused). >>>> >>>> We have imported the equivalent of States/Districts/Org Units in >>>> Ukrainian and were using the API to import the EN/RU translations for Name >>>> and Short Name for the organisation units. >>>> >>>> The translations are visible in the Translation Table, but do not >>>> show-up when you click on the translation option through the UI for an >>>> organisational unit. I can go in and create a manual translation entry for >>>> one of the Organisational Units and it appears to all intent and purposes >>>> identical in form in the Translation table as the ones I loaded via the >>>> API. >>>> >>>> I’m also having no luck (in this instance) with switching and viewing >>>> the database language locale for ‘manual’ translation entries for >>>> organisational units. >>>> >>>> It doesn’t matter whether I clear DHIS side cache and/or browser-side >>>> cache or set up a clean browser interface after changing the database >>>> locales in my user settings. >>>> >>>> Is there anything about this build revision that is problematic with >>>> linking/displaying translations for organisational units? >>>> >>>> My next option is to patch this to the latest Build Revision. >>>> >>>> Regards >>>> >>>> David Hagan >>>> >>>> _______________________________________________ >>>> Mailing list: https://launchpad.net/~dhis2-users >>>> Post to : dhis2-users@lists.launchpad.net >>>> Unsubscribe : https://launchpad.net/~dhis2-users >>>> More help : https://help.launchpad.net/ListHelp >>>> >>>> >>> >> > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp