You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Mark Schneider <ms...@it-infrastrukturen.org> on 2013/04/09 21:11:02 UTC
Re: Cosmetic patch for specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
Am 08.04.2013 22:13, schrieb Christian Geisert:
> Am 07.04.2013 18:08, schrieb Mark Schneider:
>> Hello,
>>
>> Are you interested in some cosmetic pachtes like the one attached?
>> (to get more common look for all subscreens of ecommerce)
>>
>> apache-ofbiz-12.04.01/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
>>
>>
>>
>> Further I could add some non-existing UiLabels for German to/for
>> eCommerce.
>> (in case you are interested)
>
> Absolutely ;-)
It looks like there is some need for cleaning action in eCommerce for
all languages:
apache-ofbiz-12.04.01-orig/specialpurpose/ecommerce/config$
awk -F\" '/lang=\"/ {print $2}' EcommerceUiLabels.xml | sort -u | \
xargs -iX awk '/lang=\"X/ { X_count += 1 }; END {print "lang_X
UiLabels\t= " X_count; }' EcommerceUiLabels.xml
lang_ar UiLabels = 1
lang_cs UiLabels = 63
lang_da UiLabels = 291
lang_de UiLabels = 267
lang_en UiLabels = 326
lang_en_GB UiLabels = 11
lang_es UiLabels = 210
lang_fr UiLabels = 301
lang_hi_IN UiLabels = 191
lang_it UiLabels = 297
lang_ja UiLabels = 198
lang_nl UiLabels = 293
lang_pt UiLabels = 351
lang_pt_BR UiLabels = 293
lang_pt_PT UiLabels = 57
lang_ro UiLabels = 227
lang_ru UiLabels = 230
lang_th UiLabels = 248
lang_vi UiLabels = 315
lang_zh UiLabels = 589
lang_zh_TW UiLabels = 298
Not only in eCommerce (s. attached file UiLabels_overview.txt)
apache-ofbiz-12.04.01-orig$
for Y in `find ./ -name "*UiLabel*"`; do echo -e "\n$Y"; awk -F\"
'/lang=\"/ {print $2}' $Y | sort -u | xargs -iX awk '/lang=\"X/ {
X_count += 1 }; END {print "lang_X UiLabels\t= " X_count; }' $Y; done
> /tmp/UiLabels_overview.txt
There are also some typos like:
hi-IN
pt-PT
zh-CN
zh-TW
Do you think I should open some JIRA issues? .. eg. like one per component.
Who can help to unify all these UiLabels? ;)
regards, Mark
--
ms@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org
Re: Cosmetic patch for
specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Mark Schneider" <ms...@it-infrastrukturen.org>
> Am 10.04.2013 04:38, schrieb Jacques Le Roux:
>> What do you intend to do exactly?
> In first step I would add "missing" lang entries for German
> (eCommerce component) and add a patch to JIRA issue.
Great, looking forward
> I guess that the number of lang etntries for every particular language
> should be the same for all languages.
> (maybe with some exceptions like for eg. for de_DE, de_CH etc.
> Both are German but may be country specific)
Yes it's a matter of human ressources and will...
Also there are also shared resources in wiki
https://cwiki.apache.org/confluence/display/OFBIZ/Dictionary+for+translations+to+German
https://cwiki.apache.org/confluence/display/OFBIZ/Dictionary+for+French+translations
https://cwiki.apache.org/confluence/display/OFBIZ/Dictionary+for+Danish+translations
https://cwiki.apache.org/confluence/display/OFBIZ/Dictionary+for+Dutch+translations
Not all are yet referred from https://cwiki.apache.org/confluence/display/OFBIZ/Misc+Pages+-+Technical
Though ratehr a main page for dictionaries would be welcome and referred from there
Also
https://cwiki.apache.org/confluence/display/OFBIZ/Guide+to+OFBiz-i18n%2C++Internationalisation+of+OFBiz
HTH
Jacques
> For minipromotext.ftl I have attached a patch already to the JIRA issue.
> I have notice that the "older" demo shop (link on the OFBiz site) seems
> to have such patch already.
>
>> BTW, no needs to broadcast to the 2 MLs. For such cases dev is enough.
> Thank you for the hint and sorry .. I did it to involve also OFBiz users
> as not all of them are on dev ML.
> Do you think that new JIRA entries (one for every OFBiz comonent)
> are most comfortable for devs?
>
> regards, Mark
>
> --
> ms@it-infrastrukturen.org
>
> http://rsync.it-infrastrukturen.org
>
>
>> Thanks
>>
>> Jacques
>>
>> From: "Mark Schneider"<ms...@it-infrastrukturen.org>
>>> Am 08.04.2013 22:13, schrieb Christian Geisert:
>>>> Am 07.04.2013 18:08, schrieb Mark Schneider:
>>>>> Hello,
>>>>>
>>>>> Are you interested in some cosmetic pachtes like the one attached?
>>>>> (to get more common look for all subscreens of ecommerce)
>>>>>
>>>>> apache-ofbiz-12.04.01/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
>>>>>
>>>>>
>>>>>
>>>>> Further I could add some non-existing UiLabels for German to/for
>>>>> eCommerce.
>>>>> (in case you are interested)
>>>> Absolutely ;-)
>>> It looks like there is some need for cleaning action in eCommerce for
>>> all languages:
>>>
>>>
>>> apache-ofbiz-12.04.01-orig/specialpurpose/ecommerce/config$
>>> awk -F\" '/lang=\"/ {print $2}' EcommerceUiLabels.xml | sort -u | \
>>> xargs -iX awk '/lang=\"X/ { X_count += 1 }; END {print "lang_X
>>> UiLabels\t= " X_count; }' EcommerceUiLabels.xml
>>>
>>> lang_ar UiLabels = 1
>>> lang_cs UiLabels = 63
>>> lang_da UiLabels = 291
>>> lang_de UiLabels = 267
>>> lang_en UiLabels = 326
>>> lang_en_GB UiLabels = 11
>>> lang_es UiLabels = 210
>>> lang_fr UiLabels = 301
>>> lang_hi_IN UiLabels = 191
>>> lang_it UiLabels = 297
>>> lang_ja UiLabels = 198
>>> lang_nl UiLabels = 293
>>> lang_pt UiLabels = 351
>>> lang_pt_BR UiLabels = 293
>>> lang_pt_PT UiLabels = 57
>>> lang_ro UiLabels = 227
>>> lang_ru UiLabels = 230
>>> lang_th UiLabels = 248
>>> lang_vi UiLabels = 315
>>> lang_zh UiLabels = 589
>>> lang_zh_TW UiLabels = 298
>>>
>>> Not only in eCommerce (s. attached file UiLabels_overview.txt)
>>> apache-ofbiz-12.04.01-orig$
>>> for Y in `find ./ -name "*UiLabel*"`; do echo -e "\n$Y"; awk -F\"
>>> '/lang=\"/ {print $2}' $Y | sort -u | xargs -iX awk '/lang=\"X/ {
>>> X_count += 1 }; END {print "lang_X UiLabels\t= " X_count; }' $Y; done
>>>> /tmp/UiLabels_overview.txt
>>> There are also some typos like:
>>> hi-IN
>>> pt-PT
>>> zh-CN
>>> zh-TW
>>>
>>> Do you think I should open some JIRA issues? .. eg. like one per component.
>>>
>>> Who can help to unify all these UiLabels? ;)
Re: Cosmetic patch for specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
Posted by Mark Schneider <ms...@it-infrastrukturen.org>.
Am 10.04.2013 04:38, schrieb Jacques Le Roux:
> What do you intend to do exactly?
In first step I would add "missing" lang entries for German
(eCommerce component) and add a patch to JIRA issue.
I guess that the number of lang etntries for every particular language
should be the same for all languages.
(maybe with some exceptions like for eg. for de_DE, de_CH etc.
Both are German but may be country specific)
For minipromotext.ftl I have attached a patch already to the JIRA issue.
I have notice that the "older" demo shop (link on the OFBiz site) seems
to have such patch already.
> BTW, no needs to broadcast to the 2 MLs. For such cases dev is enough.
Thank you for the hint and sorry .. I did it to involve also OFBiz users
as not all of them are on dev ML.
Do you think that new JIRA entries (one for every OFBiz comonent)
are most comfortable for devs?
regards, Mark
--
ms@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org
> Thanks
>
> Jacques
>
> From: "Mark Schneider"<ms...@it-infrastrukturen.org>
>> Am 08.04.2013 22:13, schrieb Christian Geisert:
>>> Am 07.04.2013 18:08, schrieb Mark Schneider:
>>>> Hello,
>>>>
>>>> Are you interested in some cosmetic pachtes like the one attached?
>>>> (to get more common look for all subscreens of ecommerce)
>>>>
>>>> apache-ofbiz-12.04.01/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
>>>>
>>>>
>>>>
>>>> Further I could add some non-existing UiLabels for German to/for
>>>> eCommerce.
>>>> (in case you are interested)
>>> Absolutely ;-)
>> It looks like there is some need for cleaning action in eCommerce for
>> all languages:
>>
>>
>> apache-ofbiz-12.04.01-orig/specialpurpose/ecommerce/config$
>> awk -F\" '/lang=\"/ {print $2}' EcommerceUiLabels.xml | sort -u | \
>> xargs -iX awk '/lang=\"X/ { X_count += 1 }; END {print "lang_X
>> UiLabels\t= " X_count; }' EcommerceUiLabels.xml
>>
>> lang_ar UiLabels = 1
>> lang_cs UiLabels = 63
>> lang_da UiLabels = 291
>> lang_de UiLabels = 267
>> lang_en UiLabels = 326
>> lang_en_GB UiLabels = 11
>> lang_es UiLabels = 210
>> lang_fr UiLabels = 301
>> lang_hi_IN UiLabels = 191
>> lang_it UiLabels = 297
>> lang_ja UiLabels = 198
>> lang_nl UiLabels = 293
>> lang_pt UiLabels = 351
>> lang_pt_BR UiLabels = 293
>> lang_pt_PT UiLabels = 57
>> lang_ro UiLabels = 227
>> lang_ru UiLabels = 230
>> lang_th UiLabels = 248
>> lang_vi UiLabels = 315
>> lang_zh UiLabels = 589
>> lang_zh_TW UiLabels = 298
>>
>> Not only in eCommerce (s. attached file UiLabels_overview.txt)
>> apache-ofbiz-12.04.01-orig$
>> for Y in `find ./ -name "*UiLabel*"`; do echo -e "\n$Y"; awk -F\"
>> '/lang=\"/ {print $2}' $Y | sort -u | xargs -iX awk '/lang=\"X/ {
>> X_count += 1 }; END {print "lang_X UiLabels\t= " X_count; }' $Y; done
>>> /tmp/UiLabels_overview.txt
>> There are also some typos like:
>> hi-IN
>> pt-PT
>> zh-CN
>> zh-TW
>>
>> Do you think I should open some JIRA issues? .. eg. like one per component.
>>
>> Who can help to unify all these UiLabels? ;)
Re: Cosmetic patch for
specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
Posted by Jacques Le Roux <ja...@les7arts.com>.
What do you intend to do exactly?
BTW, no needs to broadcast to the 2 MLs. For such cases dev is enough.
Thanks
Jacques
From: "Mark Schneider" <ms...@it-infrastrukturen.org>
> Am 08.04.2013 22:13, schrieb Christian Geisert:
>> Am 07.04.2013 18:08, schrieb Mark Schneider:
>>> Hello,
>>>
>>> Are you interested in some cosmetic pachtes like the one attached?
>>> (to get more common look for all subscreens of ecommerce)
>>>
>>> apache-ofbiz-12.04.01/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
>>>
>>>
>>>
>>> Further I could add some non-existing UiLabels for German to/for
>>> eCommerce.
>>> (in case you are interested)
>>
>> Absolutely ;-)
>
> It looks like there is some need for cleaning action in eCommerce for
> all languages:
>
>
> apache-ofbiz-12.04.01-orig/specialpurpose/ecommerce/config$
> awk -F\" '/lang=\"/ {print $2}' EcommerceUiLabels.xml | sort -u | \
> xargs -iX awk '/lang=\"X/ { X_count += 1 }; END {print "lang_X
> UiLabels\t= " X_count; }' EcommerceUiLabels.xml
>
> lang_ar UiLabels = 1
> lang_cs UiLabels = 63
> lang_da UiLabels = 291
> lang_de UiLabels = 267
> lang_en UiLabels = 326
> lang_en_GB UiLabels = 11
> lang_es UiLabels = 210
> lang_fr UiLabels = 301
> lang_hi_IN UiLabels = 191
> lang_it UiLabels = 297
> lang_ja UiLabels = 198
> lang_nl UiLabels = 293
> lang_pt UiLabels = 351
> lang_pt_BR UiLabels = 293
> lang_pt_PT UiLabels = 57
> lang_ro UiLabels = 227
> lang_ru UiLabels = 230
> lang_th UiLabels = 248
> lang_vi UiLabels = 315
> lang_zh UiLabels = 589
> lang_zh_TW UiLabels = 298
>
> Not only in eCommerce (s. attached file UiLabels_overview.txt)
> apache-ofbiz-12.04.01-orig$
> for Y in `find ./ -name "*UiLabel*"`; do echo -e "\n$Y"; awk -F\"
> '/lang=\"/ {print $2}' $Y | sort -u | xargs -iX awk '/lang=\"X/ {
> X_count += 1 }; END {print "lang_X UiLabels\t= " X_count; }' $Y; done
> > /tmp/UiLabels_overview.txt
>
> There are also some typos like:
> hi-IN
> pt-PT
> zh-CN
> zh-TW
>
> Do you think I should open some JIRA issues? .. eg. like one per component.
>
> Who can help to unify all these UiLabels? ;)
>
> regards, Mark
>
> --
> ms@it-infrastrukturen.org
>
> http://rsync.it-infrastrukturen.org
>
>