টেমপ্লেট আলোচনা:রূপান্তর

পাতাটির বিষয়বস্তু অন্যান্য ভাষায় নেই।
উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

Please excuse my writing in English but I don't know Bengali.

I have just removed the "testing code". This is not actually needed for the operation of the template but is merely a way of tracking what pages use what parameters. Jimp (আলাপ) ০৬:২৭, ১৮ জানুয়ারি ২০১২ (ইউটিসি)[উত্তর দিন]

Another thing you can trim away is the spelling parameter, sp & r since you don't have to deal with US vs Commonwealth spelling.

http://bn.wikipedia.org/w/index.php?title=%E0%A6%9F%E0%A7%87%E0%A6%AE%E0%A6%AA%E0%A7%8D%E0%A6%B2%E0%A7%87%E0%A6%9F%3AConvert%2Fm&action=historysubmit&diff=1089302&oldid=636576

Jimp (আলাপ) ০৬:৪০, ১৮ জানুয়ারি ২০১২ (ইউটিসি)[উত্তর দিন]

Taking the cue I removed the |r=re section from this template as well. Also am removing r={{{r}}} section from the subtemplates. Hope I did not broke something.-Pasaban (আলাপ) ১২:২৮, ১৬ ফেব্রুয়ারি ২০১২ (ইউটিসি)[উত্তর দিন]

Another thing you might like to consider is the singular-plural and noun-adjective form issue. In English there are plural and singular forms e.g. "1 foot" vs "2 feet". Do you have plurals in Bengali? Also in English we add hyphens if we're dealing with an adjective e.g. "3 cubic metres" vs "a 3-cubic-metre box". Do you distinguish between adjectives and plurals in Bengali? Usually a plural is formed by adding an "s" but it doesn't work for all units e.g. it's "feet" not "foots" and "metres per second" not "metre per seconds". Parameter l (in the unit subtemplates) deals with this. Similarly h gives the hyphenated form for units of more than one word. You can get rid of these if they don't apply. Jimp (আলাপ) ০৪:৫৫, ১৯ জানুয়ারি ২০১২ (ইউটিসি)[উত্তর দিন]

Yes in Bengali for units we do not use any plural notations. Also no hyphens used for the units. Should we remove |h= then?-Pasaban (আলাপ) ০৭:৪৮, ২৫ ফেব্রুয়ারি ২০১২ (ইউটিসি)[উত্তর দিন]

Getting the template working[সম্পাদনা]

Of course, the real problem is that the template isn't working ... I've got a hunch though that it's got to do with the software's inability to read the numerals. I'm testing something. Jimp (আলাপ) ০৬:৪৯, ১৮ জানুয়ারি ২০১২ (ইউটিসি)[উত্তর দিন]

১২ কিলোগ্রাম (২৬ পা) ১২ কিলোগ্রাম (২৬ পা) ১২ কিলোগ্রাম (২৬.৫ পা)

Okay, I think that is the problem. What I believe is going on here is that the (sub)templates are passing Bengali numerals on to each other (e.g. rounding subtemplate call {{rnd}}) but the software cannot recognise them as numbers and so fails to do anything. By getting rid of the calls to {{rnd}} we can get the template working but, of course, that means we don't have the advantages of {{rnd}}. Is there any way to change numerals systems? Jimp (আলাপ) ০৭:১২, ১৮ জানুয়ারি ২০১২ (ইউটিসি)[উত্তর দিন]

Hi.. that's the problem I told you earlier we are facing. What we need to create a template that will take numerals in any language pass the Latin numerals to the mathametical templates and on return value will convert the result from Latin to the desired langauge. If we can achieve this we will solve this problem for all languages.-Pasaban (আলাপ) ১২:৫৭, ১৯ জুন ২০১৩ (ইউটিসি)[উত্তর দিন]
This issue will be resolved after fix this বাগ 34193http://bugzilla.wikimedia.org/show_bug.cgi?id=34193. Thanks --জয়ন্ত (আলাপ - অবদান) ১৩:৩৬, ১৯ জুন ২০১৩ (ইউটিসি)[উত্তর দিন]