[Phpslash-devel] Re: [minor annoyance in new release
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-03-03 21:12:11
|
note: Moved to -devel list. On Mon, Mar 03, 2003 at 10:09:01AM -0500, Luis M wrote: > > I found this to be a little annoyance which might or might not be a bug. The > templates under $PATH/templates/en/ are only offer under the "skin" block to > the browsers who have English languages (en). Thus if you, say, have a > $PATH/fr/skin1 directory for the french language (and the same for other > languages) only that skin is offer to french browsers. Yes, I think I follow this now. This is one reason you don't want to cache the skin block. Another is you get links to articles, etc. This is the designed behavior. > Since the text for the whole site gets translated regardless of the skin > being used, I think it would make more sense to offer all templates from a > given directory (or have a folder which is the default language for all > other -- I think this is what "en" is). Uh, some templates contain text that is not translated - the submission form, login form, poll results, etc. > Either that or users will have to > create a directory in e/a directory for the language they want to support > and put a "skin.ini" file whose skin.parent is the default language for the > given site. Yes. Except you can't refer back to the default language's skin (yet, maybe?) in the skin.ini. > I know that modifying the algorithm for the "skin" blocktype could easily > yield to recurring thru a list of duplicated directories, so a solution > should involved default-ing to just one directory and not to all other > languages to look for template directories that are not present in the > current language... (confusing uh, just read this paragraph again...). > > I hope that this makes sense to you guys out there (Joe?). > I think I understood after reading it a few times :) Setting the skin using the user accounts and preferences hopefully will be the preferred method to choose skins. However, I have done no testing on what skins are available after a language change. I think this might be broken. later, Joe > > > ----)(----- > Luis Mondesi > System Administrator/Web developer > LatinoMixed.com > > le...@ho... > > "Black holes are where God divided by zero" - Steven Wright > > Public signature: http://www.latinomixed.com/lems1/public-a.asc > > > > > _________________________________________________________________ > MSN Search, le moteur de recherche qui pense comme vous ! > http://search.msn.fr/worldwide.asp > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > phpslash-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpslash-users > |