List Info

Thread: Welcome Page Localization Patch




Welcome Page Localization Patch
user name
2006-11-29 23:02:24
On Wed, 2006-11-29 at 09:21 +0000, Gideon de Swardt wrote:
> The only down side I see with doing it straight in the
code is that you have
> to add an Xslt parameter for each string you want to
translate in the C# as
> well as the xslt, before you would be able to reference
it from within the
> xslt. 
> 
> This is not the case with using the xml document to
store to the content.
> With the content declared and stored in the xml it
means less maintenance
> when adding or changing content. Instead of having to
add parameters to the
> C# and Xsl, you would only have to add more elements to
the content xml
> document.

Well, changes are pretty rare.  I just think I would avoid
relying on
the xml/xsl for translation and keep it simple by sticking
to the tried
and true method.  No since adding complexity...just means
more
maintenance later.

Scott

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
Welcome Page Localization Patch
user name
2006-11-30 09:16:57
> Well, changes are pretty rare.  I just think I would
avoid relying on
> the xml/xsl for translation and keep it simple by
sticking to the tried
> and true method.  No since adding complexity...just
means more
> maintenance later.
>
> Scott

Hi Scott,

I don't think using xml is more complex with the Welcome
Page at all, seeing
as we are already creating an xml document before
transforming it with the
xslt. The only thing that does change is that we will have a
predefined xml
document and instead of generating one from scratch and
append xml elements
to the existing document.

My personal opinion is that complexity does not always mean
more maintenance
later. I am all for more complexity that makes maintenance
less in the
future and in this case it means less maintenance.

I really think having the xml document storing the content
makes it easier
to add and amend links and content for the welcome page,
purely because the
content is not stored inside the formatted xslt document but
rather inside
the xml document. It actually even simplifies the xslt as
well, as all links
and actions will now be formatted in the same way, meaning
more consistency.
Personally I think this is a win win situation that is not
overly complex at
all. 

If you open the xml document that I submitted with the
patch, it will become
apparent what I am referring to by maintaining the content
etc.

Regards,

Gideon de Swardt

Send instant messages to your online friends http://uk.messenger.yah
oo.com 
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )