WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: propose add locales of all dependent extensions to locale dep-file  (Read 4818 times)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
propose to add locale of all extensions
from which depend extension to its locale dep-file

now i try to explain why it is needed as i think

first, if needed to install locale for some extension
which has many localized dependencies
then it is necessary search dependent locales
and when large depends number they may be many

secondly, is that vast majority of locales depends from main extension
and it makes problems when removing unnecessary extensions
because can't just remove all deps which dependent from locales

but if locale dep-files of all extensions
will include locales its dependent extensions
then can kill these problems by one shot
1. will can download and install extension and most of its locales automatically
2. will can uninstall unnecessary extensions with its unnecessary deps and locales
    also automatically using standard dependencies audit of apps-browser

for example
pidgin-locale.tcz.dep
Code: [Select]
gtk2-locale.tcz
libiconv-locale.tcz
libidn-locale.tcz
pidgin.tcz
pidgin-locale.tcz
shared-mime-info-locale.tcz
gtk2-locale.tcz.dep
Code: [Select]
atk-locale.tcz
gdk-pixbuf2-locale.tcz
gtk2.tcz
gtk2-locale.tcz
shared-mime-info-locale.tcz
etc
« Last Edit: May 04, 2012, 10:18:59 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: propose add locales of all dependent extensions to locale dep-file
« Reply #1 on: May 04, 2012, 09:33:02 AM »
the same can be made for self-contained modules
(despite the fact that the union with locales seems is more logical)
and not puzzle over or should separate locales from main scm or not
because can consider the module and its locale as one module

thus can kill even three birds one shot
first, not violated main core principle have small footprint
secondly, self-contained modules remain small and with min deps
thirdly, achieved desirable automation of loading required locales

concerning the problems of exceptions
should consider scm and it locale as one module
because locale as a separate module is worthless
and the number of exceptions does not grows
because number of scm deps kept minimal
as is required
« Last Edit: May 04, 2012, 10:34:17 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: propose add locales of all dependent extensions to locale dep-file
« Reply #2 on: May 04, 2012, 09:37:42 AM »
i can post here a script that adds the necessary dependent locales
to all locales dep-files on user computer side
« Last Edit: May 04, 2012, 09:58:04 AM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: propose add locales of all dependent extensions to locale dep-file
« Reply #3 on: May 04, 2012, 03:37:52 PM »
So, while you are very industrious  abnormis, this one can not deny  :P
It might make sense and simplify the lives of those seeking the entire distribution translated.
I do not know if it's essential to have the local gtk to use the local of "pidgin", it is require?
for the rest, if it is correct way, can be done automatically with your script is good, do it by hand would be tedious

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: propose add locales of all dependent extensions to locale dep-file
« Reply #4 on: May 04, 2012, 06:39:32 PM »
So, while you are very industrious  abnormis, this one can not deny  :P
so far i have time and opportunities but more simply saying while i unemployed
It might make sense and simplify the lives of those seeking the entire distribution translated.
i just look at this in terms of non-english spoken users
and i think about how this would be more convenient to use and easier to realised
I do not know if it's essential to have the local gtk to use the local of "pidgin", it is require?
gui localization, any dialogues, file dialogues such as open, save etc
including such trifles as button labels such as yes, no, cancel, apply, enter etc
diagnostic messages and including error messages etc
for the rest, if it is correct way, can be done automatically with your script is good, do it by hand would be tedious
i can not argue that this is genuinely the right way that locale has deps
locales should not have depends with my point of view
and downloading and deleting should make the system functions
(by the way as it does system script tce-load to load locales)
but if is customary in tinycore so that locale dependent from main extension
then i just suggest to improve this
« Last Edit: May 04, 2012, 06:54:12 PM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)