Hello, world! by deveasin · Pull Request #11 · javascript-tutorial/bn.javascript.info
Please I have tried to translate it nicely. please check and let me know if there is any issues. I will try to improve it.
thanks
@mdeasindev ধন্যবাদ আপনার মূল্যবান কন্ট্রিবিউশন এর জন্য। দয়া করে আমাদের Contributor License Agreement টি সাইন করে নিবেন। আপনার অনুবাদ আমরা রিভিউ করে দিচ্ছি।
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
আপনার পুরো লেখাটি আরেকবার রিভাইজ করুন। কমেন্ট করা অংশ গুলো পরিবর্তন করুন। একই বিষয় একাধিক জায়গায় ভুল থাকা সত্তেও শুধু মাত্র এক দুই জায়াগায় দেখানো হয়েছে। সেগুলো সব জায়গা থেকেই পরিবর্তন করুন। আপনার Contribution এর জন্য ধন্যবাদ।
| # হেলো, বিশ্ব! | ||
|
|
||
| This part of the tutorial is about core JavaScript, the language itself. | ||
| টিউটরিআলটির এই অংশটি হয় মূল জাভাস্ক্রিপ্ট সম্পর্কে, ভাষাটি নিজেই। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
টিউটরিআলটির এই অংশটি হয় মূল জাভাস্ক্রিপ্ট সম্পর্কে, ভাষাটি নিজেই।
এই বাক্যটি নিচের মত করে লেখার চেষ্টা করুন -
এই টিউটোরিয়াল অংশটি মুলত জাভাস্ক্রিপ্ট প্রোগ্রামিং ভাষার মূল বিষয় সমূহ নিয়ে।
| টিউটরিআলটির এই অংশটি হয় মূল জাভাস্ক্রিপ্ট সম্পর্কে, ভাষাটি নিজেই। | ||
|
|
||
| But we need a working environment to run our scripts and, since this book is online, the browser is a good choice. We'll keep the amount of browser-specific commands (like `alert`) to a minimum so that you don't spend time on them if you plan to concentrate on another environment (like Node.js). We'll focus on JavaScript in the browser in the [next part](/ui) of the tutorial. | ||
| কিন্তু আমাদের স্ক্রিপ্টসগুলো চালানোর জন্য একটি কাজের পরিবেশ দরকার এবং যেহেতু এই বইটি অনলাইনে রয়েছে, তাই ব্রাউজার একটি ভাল পছন্দ হবে। আমরা ব্রাউজার-নির্দিষ্ট কমান্ডস গুলো (যেমনঃ `এলার্ট`) সর্বনিম্ন পরিমান রাখবো যাতে করে এতে আপনাদের সময় ব্যয় না হয়, যদি আপনারা অন্য পরিবেশে মনোনিবেশ করার পরিকল্পনা করে থাকেন(যেমনঃ নুড.জেএস)। আমরা এই টিউটরিয়ালের [পরবর্তী অংশে](/ui) ব্রাউজারে জাভাস্ক্রিপ্ট উপর গুরুত্ব দিব। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
যেমনঃ নুড.জেএস এখানে নুড.জেএস should be Node.js
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The `type` attribute: <code><script <u>type</u>=...></code> | ||
| : The old HTML standard, HTML4, required a script to have a `type`. Usually it was `type="text/javascript"`. It's not required anymore. Also, the modern HTML standard totally changed the meaning of this attribute. Now, it can be used for JavaScript modules. But that's an advanced topic; we'll talk about modules in another part of the tutorial. | ||
| `type` এট্রিবিউটসটি: <code><script <u>type</u>=...></code> | ||
| : পুরানো এইচটিএমএল স্ট্যান্ডার্ড, এইচটিএমএল৪, একটি স্ক্রিপ্টে `type` এট্রিবিউটসটি থাকা অবশ্যক ছিল। সাধারনত এটা ছিল `type="text/javascript"`। এটি আর প্রয়োজন হয় না. আরও বলতে গেলে, আধুনিক এইচটিএমএল স্ট্যান্ডার্ড এ পুরোপুরিভাবে এট্রিবিউটস এর অর্থই বদলে দিয়েছে। এখন, এটা জাভাস্ক্রিপ্ট মডিউলস এর জন্য ব্যবহার করা যেতে পারে। কিন্তু এটা একটি উন্নত বিষয়, আমরা মডিউলস সম্পর্কে টিউটরিয়ালের অন্য অংশে কথা বলব। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
কিন্তু এটা একটি উন্নত বিষয়, আমরা মডিউলস সম্পর্কে টিউটরিয়ালের অন্য অংশে কথা বলব।
এখানে উন্নত শব্দটির পরিবর্তে অ্যাডভান্সড ব্যবহার করুন।
| Comments before and after scripts. | ||
| : In really ancient books and guides, you may find comments inside `<script>` tags, like this: | ||
| স্ক্রিপ্টগুলির আগে এবং পরে মন্তব্যগুলিঃ | ||
| সত্যিই প্রাচীন বই এবং গাইডগুলিতে, আপনারা হয়তো `<script>` ট্যাগগুলোর মধ্যে মন্তব্যগুলি পেতে পারেন, এটার মতঃ |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
সত্যিই প্রাচীন বই এবং গাইডগুলিতে should be পুরনো বই ও গাইডসমুহে
| //--></script> | ||
| ``` | ||
|
|
||
| আধুনিক জাভাস্ক্রিপ্টে এই কৌশলটি আর ব্যবহার করা হয় না। এই মন্তব্যগুলি জাভাস্কিপ্ট কোডগুলো কে লুকিয়ে রাখে পুরনো ব্রাউজার গুলো থেকে যারা জানে না কিভাবে `<script>` ট্যাগকে প্রসেস করতে হয়। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
জাভাস্কিপ্ট should be জাভাস্ক্রিপ্ট
|
|
||
| ```smart | ||
| As a rule, only the simplest scripts are put into HTML. More complex ones reside in separate files. | ||
| বেশিরভাগ ক্ষেত্রেই, শুধু মাত্র সহজ স্ক্রিপ্টস গুলোই এইচটিএমএল এর মধ্যে রাখা হয় এবং অনেক জটিল গুলোকে আলাদা ফাইল এ রাখা হয়। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ফাইল এ should be ফাইলে
| বেশিরভাগ ক্ষেত্রেই, শুধু মাত্র সহজ স্ক্রিপ্টস গুলোই এইচটিএমএল এর মধ্যে রাখা হয় এবং অনেক জটিল গুলোকে আলাদা ফাইল এ রাখা হয়। | ||
|
|
||
| The benefit of a separate file is that the browser will download it and store it in its [cache](https://en.wikipedia.org/wiki/Web_cache). | ||
| বিভিন্ন ফাইলে রাখার সুবিধাগুলো হল, ব্রাউজার এটাকে ডাউনলোড করে রাখবে এবং [কেশ](https://en.wikipedia.org/wiki/Web_cache) হিসেবে রেখে দিবে। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
কেশ should be cache
| ````warn header="If `src` is set, the script content is ignored." | ||
| A single `<script>` tag can't have both the `src` attribute and code inside. | ||
| ````warn header="যদি `src` সেট করা হয়, তাহলে স্ক্রিপ্টের ভিতরের কন্টেন্ট গুলো উপেক্ষিত হবে।" | ||
| একটি একক `<script>` ট্যাগে কখনই উভয় `src` এট্রিবিউটস এবং ভিতরে কোড থাকতে পারে না। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
উভয় should be একাধিক
| ``` | ||
|
|
||
| We must choose either an external `<script src="…">` or a regular `<script>` with code. | ||
| আমাদের অবশই পছন্দ করতে হবে হয় বহিরাগত `<script src="…">` অথবা a স্বাভাবিক `<script>` ট্যাগ সাথে কোড নিয়ে। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
অথবা a স্বাভাবিক => অথবা স্বাভাবিক
| ## সারাংশ | ||
|
|
||
| - আমরা একটি পেজে জাভাস্ক্রিপ্ট যোগ করতে `<script>` ট্যাগ ব্যবহার করতে পারি । | ||
| - `type` এবং `language` এট্রিবিউটস এর এখন আর প্রয়োজন নেই। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
এট্রিবিউটস এর => এট্রিবিউটসের
Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
অনেকগুলি সাজেশন দেয়া হয়েছে। এগুলি ঠিক করতে হবে। এছাড়া ৯ নাম্বার লাইন থেকে মুল লেখার সাথে লাইন নাম্বার এলোমেলো হয়ে গেছে। মুল লেখার সাথে লাইন নাম্বার অবশ্যই এক রাখা জরুরী।
ধন্যবাদ আপনার মূল্যবান সময় এবং কন্ট্রিউবিশন এর জন্য।
| @@ -1,12 +1,12 @@ | |||
| importance: 5 | |||
| গুরুত্ব: ৫ | |||
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
এই লাইন টি অনুবাদ করা যাবে না। যেমন আছে তেমন ই থাকবে।
| --- | ||
|
|
||
| # Show an alert | ||
| # একটি alert দেখাও |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # একটি alert দেখাও | |
| # একটি এলার্ট দেখাও |
| # একটি alert দেখাও | ||
|
|
||
| Create a page that shows a message "I'm JavaScript!". | ||
| একটি পেজ তৈরি করো যেটি দেখাবে একটি বার্তা "I'm JavaScript!". |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| একটি পেজ তৈরি করো যেটি দেখাবে একটি বার্তা "I'm JavaScript!". | |
| একটি পেজ তৈরি করো যেটি "I'm JavaScript!" এই ম্যাসেজটি দেখাবে। |
| একটি পেজ তৈরি করো যেটি দেখাবে একটি বার্তা "I'm JavaScript!". | ||
|
|
||
| Do it in a sandbox, or on your hard drive, doesn't matter, just ensure that it works. | ||
| এটা sandbox, অথবা তোমার hard drive যেখানে খুশি সেখানে করো সমস্যা নেই, শুধু মাত্র এটা নিশ্চিত করো যে alert টি কাজ করছে। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| এটা sandbox, অথবা তোমার hard drive যেখানে খুশি সেখানে করো সমস্যা নেই, শুধু মাত্র এটা নিশ্চিত করো যে alert টি কাজ করছে। | |
| এটা sandbox, অথবা তোমার hard drive যেখানে খুশি সেখানে করো সমস্যা নেই, শুধু মাত্র এটা নিশ্চিত করো যে এটি কাজ করছে। |
| @@ -1,9 +1,9 @@ | |||
| importance: 5 | |||
| গুরুত্ব: ৫ | |||
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
এই লাইনটি কখনো অনুবাদ করা যাবে না।
| ``` | ||
|
|
||
| We must choose either an external `<script src="…">` or a regular `<script>` with code. | ||
| আমাদের অবশই পছন্দ করতে হবে হয় বহিরাগত `<script src="…">` অথবা a স্বাভাবিক `<script>` ট্যাগ সাথে কোড নিয়ে। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| আমাদের অবশই পছন্দ করতে হবে হয় বহিরাগত `<script src="…">` অথবা a স্বাভাবিক `<script>` ট্যাগ সাথে কোড নিয়ে। | |
| আমাদের অবশই বাছাই করতে হবে হয় বহিরাগত `<script src="…">` অথবা স্বাভাবিক `<script>` ট্যাগ এর ভেতরে কোড। |
| আমাদের অবশই পছন্দ করতে হবে হয় বহিরাগত `<script src="…">` অথবা a স্বাভাবিক `<script>` ট্যাগ সাথে কোড নিয়ে। | ||
|
|
||
| The example above can be split into two scripts to work: | ||
| উপরের উদাহরণটি কাজ করতে দুইটি স্ক্রিপ্টে বিভক্ত করা যেতে পারে। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| উপরের উদাহরণটি কাজ করতে দুইটি স্ক্রিপ্টে বিভক্ত করা যেতে পারে। | |
| উপরের উদাহরণটি কাজ করাতে দুইটি স্ক্রিপ্টে বিভক্ত করা যেতে পারে। |
| ## সারাংশ | ||
|
|
||
| - আমরা একটি পেজে জাভাস্ক্রিপ্ট যোগ করতে `<script>` ট্যাগ ব্যবহার করতে পারি । | ||
| - `type` এবং `language` এট্রিবিউটস এর এখন আর প্রয়োজন নেই। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - `type` এবং `language` এট্রিবিউটস এর এখন আর প্রয়োজন নেই। | |
| - `type` এবং `language` এট্রিবিউট এর এখন আর প্রয়োজন নেই। |
|
|
||
| - আমরা একটি পেজে জাভাস্ক্রিপ্ট যোগ করতে `<script>` ট্যাগ ব্যবহার করতে পারি । | ||
| - `type` এবং `language` এট্রিবিউটস এর এখন আর প্রয়োজন নেই। | ||
| - বহিরাগত ফাইলের স্ক্রিপ্টগুলো `<script src="path/to/script.js"></script>` এইভাবে রাখা যেতে পারে. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - বহিরাগত ফাইলের স্ক্রিপ্টগুলো `<script src="path/to/script.js"></script>` এইভাবে রাখা যেতে পারে. | |
| - আলাদা ফাইলের স্ক্রিপ্টগুলো `<script src="path/to/script.js"></script>` এইভাবে রাখা যেতে পারে। |
| - বহিরাগত ফাইলের স্ক্রিপ্টগুলো `<script src="path/to/script.js"></script>` এইভাবে রাখা যেতে পারে. | ||
|
|
||
| There is much more to learn about browser scripts and their interaction with the webpage. But let's keep in mind that this part of the tutorial is devoted to the JavaScript language, so we shouldn't distract ourselves with browser-specific implementations of it. We'll be using the browser as a way to run JavaScript, which is very convenient for online reading, but only one of many. | ||
| ব্রাউজার স্ক্রিপ্টস এবং ওয়েবপেজের সাথে এদের মিথষ্ক্রিয়া সম্পর্কে অনেক কিছু শেখার আছে। কিন্তু, আসুন মনে রাখা যাক যে টিউটরিআলটির এই অংশটি উৎসর্গ করা হয় জাভাস্ক্রিপ্ট ভাষার প্রতি, তাই আমাদের নিজেদেরকে বিভ্রান্ত করা উচিত হবে না এটির ব্রাউজার-নির্দিষ্ট বাস্তবায়ন দেখে. আমরা অনেকের মধ্যে একটি ব্রাউজারকে ব্যবহার করতে থাকবো জাভাস্ক্রিপ্ট চালানোর একটি পথ হিসেবে, যেটা খুবই সহজ অনলাইনে পড়ার জন্য। |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ব্রাউজার স্ক্রিপ্টস এবং ওয়েবপেজের সাথে এদের মিথষ্ক্রিয়া সম্পর্কে অনেক কিছু শেখার আছে। কিন্তু, আসুন মনে রাখা যাক যে টিউটরিআলটির এই অংশটি উৎসর্গ করা হয় জাভাস্ক্রিপ্ট ভাষার প্রতি, তাই আমাদের নিজেদেরকে বিভ্রান্ত করা উচিত হবে না এটির ব্রাউজার-নির্দিষ্ট বাস্তবায়ন দেখে. আমরা অনেকের মধ্যে একটি ব্রাউজারকে ব্যবহার করতে থাকবো জাভাস্ক্রিপ্ট চালানোর একটি পথ হিসেবে, যেটা খুবই সহজ অনলাইনে পড়ার জন্য। | |
| ব্রাউজার স্ক্রিপ্ট এবং ওয়েবপেজের সাথে এদের ইন্টারেকশন সম্পর্কে অনেক কিছু শেখার আছে। তবে, মাথায় রাখা উচিত যে টিউটোরিয়ালটির এই অংশটি উৎসর্গ করা হয় জাভাস্ক্রিপ্ট ভাষার প্রতি, তাই এটির ব্রাউজার-নির্দিষ্ট বাস্তবায়ন দেখে আমাদের নিজেদেরকে বিভ্রান্ত করা উচিত হবে না। আমরা ব্রাউজার শুধু জাভাস্ক্রিপ্ট চালানোর জন্য ব্যবহার করবো, যেটা অনলাইনে পড়ার জন্য সহজ। কিন্তু এটি অনেকগুলি উপায়ের মধ্যে একটি। |
Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
৪৩ নাম্বার লাইন থেকে মুল লেখার সাথে লাইন নাম্বার মিলছে না। ১ লাইন এগিয়ে গেছে।
Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
অল্প কয়েকটা শাব্দিক পরিবর্তন আছে।
৬২ নং লাইনের পর থেকে মাঝে মাঝে লাইন নাম্বার ঠিক নাই। প্লিজ ফিক্স অ্যান্ড কমিট এগেইন। থাঙ্কস।
| @@ -1,87 +1,88 @@ | |||
| # Hello, world! | |||
| # হেলো, বিশ্ব! | |||
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
হ্যালো, বিশ্ব!
| *!* | ||
| <script> | ||
| alert( 'Hello, world!' ); | ||
| alert( 'হেলো, বিশ্ব!' ); |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
হ্যালো, বিশ্ব!
Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost okay, thanks for great contribution @mdeasindev
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
মার্জ করা যেতে পারে! ধন্যবাদ আপনার মূল্যবান কন্ট্রিউবিউশন এর জন্য 😄
raikusy
changed the title
Hello, world! translated
Hello, world!
Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters