Translation and coding standarts

View: New views
2 Messages — Rating Filter:   Alert me  

Translation and coding standarts

by Uldis Nelsons :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

In same places in php code is used  like this:

echo _('text1')._(‘text2’);

 

Better, if use follow:

echo _('text1  text2’);

 

Some times we get corect translation, when concanate translated text1 and tex2, but many time is it incorect.

 

I recommend this guidiance include in Coding standarts.

 

With regards

 

 

Uldis Nelsons

 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Web-erp-developers mailing list
Web-erp-developers@...
https://lists.sourceforge.net/lists/listinfo/web-erp-developers

Re: Translation and coding standarts

by Javier de Lorenzo-Cáceres :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Uldis,
 
I agree, I have the same problem for spanish, although only in a few places. Soon we will begin to improve the scripts in that sense and others, maybe in two weeks or three. Which translation are you working on?
 
regards,
javier 
 
 
----- Original Message -----
Sent: Friday, October 23, 2009 6:49 AM
Subject: [WebERP-developers] Translation and coding standarts

Hi,

 

In same places in php code is used  like this:

echo _('text1')._(‘text2’);

 

Better, if use follow:

echo _('text1  text2’);

 

Some times we get corect translation, when concanate translated text1 and tex2, but many time is it incorect.

 

I recommend this guidiance include in Coding standarts.

 

With regards

 

 

Uldis Nelsons

 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference


_______________________________________________
Web-erp-developers mailing list
Web-erp-developers@...
https://lists.sourceforge.net/lists/listinfo/web-erp-developers

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Web-erp-developers mailing list
Web-erp-developers@...
https://lists.sourceforge.net/lists/listinfo/web-erp-developers