How to identify closed 5km range co ordinates from given co ordinates

Hello,

This nice question and other below I have learned recently! Let see how its answered.

To identify the closed 5km range coordinates from a given set of coordinates, you need to first calculate the difference in latitude and longitude between the given coordinates and find the minimum and maximum values.

Here’s the basic formula:

Latitude range:

  • min latitude = given latitude – (5 / 111.2)
  • max latitude = given latitude + (5 / 111.2)

Longitude range:

  • min longitude = given longitude – (5 / (111.2 * cos(given latitude)))
  • max longitude = given longitude + (5 / (111.2 * cos(given latitude)))

Note: In the above formula, (5 / 111.2) is used to convert 5km to degrees. The value of 111.2 is the approximate number of km per degree of latitude. The value of (111.2 * cos(given latitude)) is used to convert 5km to degrees of longitude.

Once you have calculated the minimum and maximum values of latitude and longitude, you can create a bounding box by combining them. The coordinates within this bounding box would be considered as closed within a 5km range of the given coordinates.

Can you tell me more on last results?

Sure! The last results I mentioned are the coordinates of a bounding box that defines a closed area within a 5km range of a given set of coordinates.

A bounding box is a rectangular area that encloses a set of points or coordinates. In this case, the bounding box encloses the coordinates that are within a 5km range of the given coordinates. The minimum and maximum latitude and longitude values that were calculated earlier define the boundaries of this bounding box.

By combining the minimum and maximum latitude and longitude values, you get a rectangular area that encloses all the coordinates that are within a 5km range of the given coordinates. Any coordinate that lies within this rectangular area can be considered to be within a 5km range of the given coordinates.

This information can be useful in various applications, such as mapping, geolocation-based services, or location-based searches. For example, if you want to search for all the restaurants within a 5km range of a given location, you can use the bounding box coordinates to filter out the restaurants that are outside the 5km range.

Can you tell me more with example for bounding box calculations?

Sure, here’s an example of how you can calculate the bounding box coordinates for a given set of coordinates within a 5km range.

Let’s assume that the given coordinates are:

Latitude: 37.7749 Longitude: -122.4194

To calculate the bounding box coordinates:

  1. Calculate the minimum and maximum latitude:
  • min latitude = 37.7749 – (5 / 111.2) = 37.7692
  • max latitude = 37.7749 + (5 / 111.2) = 37.7807
  1. Calculate the minimum and maximum longitude:
  • min longitude = -122.4194 – (5 / (111.2 * cos(37.7749))) = -122.4257
  • max longitude = -122.4194 + (5 / (111.2 * cos(37.7749))) = -122.4131

So, the bounding box coordinates would be:

min latitude: 37.7692 min longitude: -122.4257 max latitude: 37.7807 max longitude: -122.4131

This means that any coordinate that lies within the rectangular area defined by these bounding box coordinates would be considered to be within a 5km range of the given coordinates (37.7749, -122.4194).

Well hope you understand from the given formulation and examples how can create a boundingbox for the range we need to search in for against our given co-ordinates, lets deep in further how we can implement and take this up with our Javascript Skills!

Nice, how I we can use this in Javascript?

Here’s an example of how you can calculate the bounding box coordinates for a given set of coordinates within a 5km range using JavaScript:

function getBoundingBox(lat, lng, distance) {
  const RADIUS_OF_EARTH_KM = 6371;
  const latRadian = lat * (Math.PI / 180);
  const degLatKm = RADIUS_OF_EARTH_KM * Math.cos(latRadian);
  const degLonKm = RADIUS_OF_EARTH_KM;
  const latDegree = distance / degLatKm;
  const lngDegree = distance / degLonKm;

  return {
    minLat: lat - latDegree,
    minLng: lng - lngDegree,
    maxLat: lat + latDegree,
    maxLng: lng + lngDegree
  };
}

const coordinates = { lat: 37.7749, lng: -122.4194 };
const boundingBox = getBoundingBox(coordinates.lat, coordinates.lng, 5);

console.log(boundingBox);

In this example, the getBoundingBox function takes the latitude, longitude, and distance as input parameters. The distance is the radius of the bounding box and is specified in kilometers. The function first converts the latitude and longitude to radians and calculates the number of kilometers per degree of latitude and longitude. The minimum and maximum latitude and longitude values are then calculated using these values and the given distance. Finally, the bounding box coordinates are returned as an object.

Nice, How to I use the bounding box with real test case example?

Here’s an example of how you could use the bounding box coordinates with a real-world test case. Let’s say you have a list of restaurants and their coordinates, and you want to search for all the restaurants within a 5km range of a given location.

const restaurants = [
  { name: "Restaurant A", lat: 37.7820, lng: -122.4464 },
  { name: "Restaurant B", lat: 37.7696, lng: -122.4138 },
  { name: "Restaurant C", lat: 37.7816, lng: -122.4140 },
  { name: "Restaurant D", lat: 37.7711, lng: -122.4336 },
  { name: "Restaurant E", lat: 37.7634, lng: -122.4359 },
];

const searchLocation = { lat: 37.7749, lng: -122.4194 };
const searchRadius = 5;
const boundingBox = getBoundingBox(searchLocation.lat, searchLocation.lng, searchRadius);

const filteredRestaurants = restaurants.filter(restaurant => {
  return (
    restaurant.lat >= boundingBox.minLat &&
    restaurant.lat <= boundingBox.maxLat &&
    restaurant.lng >= boundingBox.minLng &&
    restaurant.lng <= boundingBox.maxLng
  );
});

console.log(filteredRestaurants);

In this example, the restaurants array contains the list of restaurants and their coordinates. The searchLocation object contains the location for which you want to search the restaurants. The searchRadius specifies the radius of the search in kilometers.

The boundingBox is calculated using the getBoundingBox function, as shown in the previous example. The filteredRestaurants array is then created by filtering the restaurants array based on whether their coordinates fall within the bounding box or not. Finally, the filtered restaurants are logged to the console.

Hope this give us nice insight for the questions we have and need to develop as we develop advance things.

Source: Some AI Interaction Channels

Happy Learning!

Closures in JavaScript

A closure in JavaScript is a function that has access to variables in its outer scope, even after the outer function has returned. A closure is created when a function is defined inside another function and the inner function references variables in the outer function’s scope.

Closures allow you to preserve the state of a function’s variables even after the function has returned, and they can be used to create powerful and flexible functions that can be reused in different parts of your code.

Here’s a simple example of a closure in JavaScript:

function outerFunction(x) {
return function innerFunction(y) {
return x + y;
}
}

const add5 = outerFunction(5);
console.log(add5(3)); // 8

In this example, the outerFunction returns the innerFunction, which has access to the x variable in its outer scope. When we call outerFunction(5), it returns the innerFunction with x set to 5, and we assign it to the add5 variable. When we later call add5(3), it returns the result of x + y, which is 8.

Closures are an important concept in JavaScript, as they can be used to create functions that have private variables, to implement object-oriented concepts like classes and prototypes, and to manage state and data in complex applications.

Source: AI Interaction Channel

Happy Learning!

Picture tag in HTML

The <picture> tag in HTML is a semantic element that is used to define multiple source images for a single content. The <picture> element is used to specify multiple sources for an image, allowing the browser to choose the most appropriate source based on the user’s device and screen size. This allows you to display images that are optimized for different devices, without having to rely on JavaScript or CSS media queries.

Here’s an example of how you might use the <picture> tag:

<picture >
  < source srcset="large.jpg" media="(min-width: 800px)">
  < source srcset="small.jpg" media="(max-width: 799px)">
  < img src="small.jpg" alt="A picture">
</ picture >

In this example, the < source > elements define different sources for the image, based on the screen size of the user’s device. If the screen is at least 800 pixels wide, the browser will choose the large.jpg image, while if the screen is smaller than 800 pixels, it will choose the small.jpg image. The <img> element is used as a fallback for browsers that do not support the <picture> element.

hope you understand the basic concepts and use of Picture Tag in HTML

Source: AO Interaction Channel

What is the life cycle of an HTML request

Hello, Welcome

The life cycle of an HTML request can be divided into following stages:

  1. Request initiation: The request is initiated by the browser, usually in response to a user action, such as clicking a link, submitting a form, or refreshing the page.
  2. DNS Lookup: The browser checks the local cache and DNS servers to resolve the domain name to an IP address. If the domain name has not been resolved before, the browser will initiate a DNS lookup to obtain the IP address of the server.
  3. TCP Connection: The browser establishes a TCP connection with the server. This is the underlying communication channel that will be used to send the HTTP request and receive the response.
  4. Request sent: The browser sends an HTTP request to the server. The request includes information about the type of operation being performed (e.g., GET, POST, PUT, DELETE), the URL being requested, and any additional data that may be required (e.g., form data).
  5. Server processing: The server receives the request and processes it. This may involve retrieving data from a database, processing data, or generating a response.
  6. Response sent: The server generates an HTTP response and sends it back to the browser. The response includes information about the status of the request, the type of data being returned, and the actual data itself.
  7. Response received: The browser receives the response and processes it. This may involve updating the contents of the page, displaying an error message, or redirecting to another page.
  8. Resource loading: If the response includes references to additional resources (e.g., images, stylesheets, scripts), the browser will initiate separate requests for each of these resources.
  9. Page rendering: The browser uses the information in the response to render the final page.

This entire process can take place in a matter of milliseconds, allowing the user to interact with the web page in near-real-time.

Source: AI Interaction Channel

Happy learning!

How to write basic Test case for React component using Jest or Enzyme

Lets quickly straight dive into it

import React from "react";
import { shallow } from "enzyme";
import TestComponent from "./TestComponent";

describe("TestComponent", () => {
  it("renders correctly", () => {
    const wrapper = shallow(<TestComponent />);
    expect(wrapper).toMatchSnapshot();
  });

  it("contains a button", () => {
    const wrapper = shallow(<TestComponent />);
    expect(wrapper.find("button").length).toEqual(1);
  });

  it("simulates click events", () => {
    const mockCallBack = jest.fn();
    const wrapper = shallow(<TestComponent handleClick={mockCallBack} />);
    wrapper.find("button").simulate("click");
    expect(mockCallBack.mock.calls.length).toEqual(1);
  });
});

In this example, the describe block creates a test suite for the TestComponent and the it blocks define individual test cases.

The shallow function from Enzyme is used to render a shallow version of the component.

The toMatchSnapshot assertion is used to check that the component is rendering correctly.

The find method is used to locate elements within the shallow render, and the simulate method is used to trigger events on those elements.

The jest.fn function is used to create a mock callback that can be passed as a prop to the component and tested.

Happy Learning.

10 Key tips on preparing for ReactJS Interview

Hello,

Lets quickly go through the 10 keys, for preparing for React Js Interview

  1. React basics: Familiarize yourself with React concepts such as components, JSX, state, props, lifecycle methods, hooks, etc.
  2. React-Redux: Understand how to use Redux with React for state management.
  3. React Router: Learn how to handle routing in React applications.
  4. React performance optimization: Know how to optimize the performance of React applications, including techniques like lazy loading, memoization, and using shouldComponentUpdate.
  5. React hooks: Knowledge of React hooks and how they can be used in place of class components.
  6. React testing: Understand how to test React components using tools like Jest and Enzyme.
  7. Familiarity with CSS: Good understanding of CSS, including CSS-in-JS solutions like styled-components.
  8. JavaScript concepts: Good understanding of JavaScript concepts like closure, asynchronous programming, and ES6 syntax.
  9. Git: Knowledge of Git and how to use it for version control.
  10. Problem solving skills: Be prepared to solve algorithmic problems and explain your thought process.

Hope you enjoy learning!

Very basic of How to create a React Fiber/React Js Project from scratch

Here is the basic process to create a project with React Fiber:

  1. Install Node.js and npm (Node Package Manager) if you don’t have them installed already.
  2. Use npm to create a new React project by running the following command in your terminal or command prompt:
    npx create-react-app my-app
  3. Navigate to the newly created project directory:
    cd my-app
  4. Start the development server by running:
    npm start
  5. The development server should now be running on http://localhost:3000 in your browser.
  6. You can now start building your React Fiber application by modifying the files in the src directory.
  7. When you’re ready to deploy your application, run the following command to create a production build:
    npm run build

This should give you a basic understanding of how to create a React Fiber project. If you’re new to React, it may be helpful to go through some introductory tutorials before diving into your project.

Happy Learning!

How to generate Public & Private SSH Keys on Windows?

Hello, Lets Begin.

Open a Command Prompt/Terminal Window.

Important Alert!: Before going further, there is very important to know. If you have already generated a private/public key pair, don’t do it again!.

Where to find those keys or check if generated or not?

Okay, lets quickly see that step, Open Explorer window and type in address of explorer %userprofile%/.ssh it will open the window for you.

Typing %userprofile%/.ssh

Result of opening the above path. if you already have files will be listed otherwise it would be empty, so you can continue following reading next few steps to generate up the same.

.ssh list keys if already generated on your system or otherwise it list empty

Follow steps if no keys are available in the case.

Lets go back to our open Terminal Window/Command Prompt enter command:

ssh-keygen -b 4096

You are prompted to answer a few questions.

First is “Enter file in which to save the key” Press enter to use the default location.

The next question is “Enter passphrase.” This step is optional, but good to have for better security. Use whatever you like or skip, and then press enter.

Then confirm the passphrase or enter if none.

Once done new keys will be saved to same path under .ssh

For example: C:\your-username\.ssh\id_rsa.pub

Then you can use both the files to upload it under your hosting server to make a communication with your server through terminal window.

To make a connection to hosting server from terminal windows, that’s another topic we will cover them later in new post.

Hope this solves your finding.

Happy Learning

Vegetables names list in most multiple languages

Vegetables and Fruits names in various languages for children to learn.

EnglishHindiMarathiBahasa (Indonesia)PunjabiTamilTelguKannadaBengaliGujaratiHindi English Version
Avocadoएवोकाडोअ‍वोकॅडोAlpukatਆਵਾਕੈਡੋவெண்ணெய்అవోకాడోಆವಕಾಡೊঅ্যাভোকাডোએવોકાડોevokaado / Avocado
Amaranth leavesअमरनाथ के पत्तेअमरनाथ सोडतेDaun bayamਅਮਰਨਥ ਛੱਡ ਜਾਂਦਾ ਹੈஅமராந்த் புறப்படுகிறார்అమరాంత్ ఆకులుಅಮರಂತ್ ಹೊರಟು ಹೋಗುತ್ತಾನೆঅমরন্ত চলে যায়અમરંથ નીકળે છેChauli, chaulai
Ash gourd, white pumpkin, winter melonलौकी, सफेद कद्दू, सर्दी तरबूजराख, कोबी पांढरा भोपळा, हिवाळ्यातील खरबूजLabu abu, labu putih, melon musim dinginਐਸ਼ ਲੌਕੀ, ਚਿੱਟਾ ਪੇਠਾ, ਸਰਦੀਆਂ ਦੇ ਤਰਬੂਜசாம்பல் சுரைக்காய், வெள்ளை பூசணி, குளிர்கால முலாம்பழம்బూడిదకాయ, తెలుపు గుమ్మడికాయ, శీతాకాలపు పుచ్చకాయಬೂದಿ ಸೋರೆಕಾಯಿ, ಬಿಳಿ ಕುಂಬಳಕಾಯಿ, ಚಳಿಗಾಲದ ಕಲ್ಲಂಗಡಿঅ্যাশ লাউ, সাদা কুমড়ো, শীতের তরমুজએશ લોટ, સફેદ કોળું, શિયાળુ તરબૂચPetha
Brinjal/Eggplantबैंगनवांगे, वांगीBrinjal, terongਬੈਂਗਣ, ਬੈਂਗਣகத்திரிக்காய், கத்திரிக்காய்వంకాయ, వంకాయಬದನೆಕಾಯಿ, ಬಿಳಿಬದನೆবেগুন, বেগুনરીંગણ, રીંગણBaingan
Eggplant Biggerबैंगन बड़ावांगी मोठीTerong Lebih Besarਬੈਂਗਣ ਵੱਡਾகத்தரிக்காய் பெரியதுవంకాయ పెద్దదిಬಿಳಿಬದನೆ ದೊಡ್ಡದುবেগুন বড়રીંગણા મોટાBarta baingan
Bok Choy Chinese Cabbageबोक चॉय चीनी गोभी Cabबोक चॉय चायनीज कोबीKubis Cina Bok Choyਬੋਕ ਚੋਏ ਚੀਨੀ ਗੋਭੀபோக் சோய் சீன முட்டைக்கோஸ்బోక్ చోయ్ చైనీస్ క్యాబేజీಬೊಕ್ ಚಾಯ್ ಚೈನೀಸ್ ಎಲೆಕೋಸುবোক ছাই চাইনিজ বাঁধাকপিબોક ચોય ચિની કોબીBok Choy Chinese Cabbage
BasilतुलसीतुळसKemangiਤੁਲਸੀதுளசிతులసిತುಳಸಿপুদিনাતુલસીtulasee
BitterBeansकड़वे बीन्सबिटरबीन्सBitterBeansਬਿਟਰਬੀਨਜ਼பிட்டர்பீன்ஸ்బిట్టర్బీన్స్ಕಹಿ ಬೀನ್ಸ್বিটারবিয়ানসબિટરબીન્સkadava bean
Bamboo shootबैम्बू शूटबांबू शूटRebungਬਾਂਸ ਦੀ ਸ਼ੂਟமூங்கில் தண்டுవెదురు షూట్ಬಿದಿರಿನ ಚಿಗುರುবাঁশের অঙ্কুরવાંસ શૂટbaimboo shoot
Baby cornबेबी कॉर्नबेबी कॉर्नjagung mudaਬੇਬੀ ਮੱਕੀகுழந்தை சோளம்బేబీ మొక్కజొన్నಬೇಬಿ ಕಾರ್ನ್শিশুর ভূট্টাબેબી મકાઈBaby corn
BeetrootचुकंदरबीटरूटAkar bitਚੁਕੰਦਰபீட்ரூட்బీట్‌రూట్ಬೀಟ್ರೂಟ್বিটরুটબીટનો કંદChukandar
Bottle gourd or White gourdलौकी या सफेद लौकीबाटली लौकी किंवा व्हाइट लौकीLabu botol atau labu putihਬੋਤਲ ਲੌਕੀ ਜਾਂ ਚਿੱਟਾ ਲੌਕੀபாட்டில் சுண்டைக்காய் அல்லது வெள்ளை சுண்டைக்காய்బాటిల్ పొట్లకాయ లేదా వైట్ పొట్లకాయಬಾಟಲ್ ಸೋರೆಕಾಯಿ ಅಥವಾ ಬಿಳಿ ಸೋರೆಕಾಯಿবোতলজাত লাউ বা সাদা লাউબોટલ લૌક અથવા સફેદ લોભીLauki, ghia
Bitter gourd, bitter melonकरेला, करेलाकडू भोपळा, कडू खरबूजLabu pahit, melon pahitਕੌੜਾ ਲੌਕੀ, ਕੌੜਾ ਤਰਬੂਜகசப்பு, கசப்பான முலாம்பழம்చేదుకాయ, చేదు పుచ్చకాయಕಹಿ ಸೋರೆಕಾಯಿ, ಕಹಿ ಕಲ್ಲಂಗಡಿতেতো করলা, তেতো তরমুজકડવો લોટ, કડવો તરબૂચKarela
Brown Sproutsब्राउन स्प्राउट्सतपकिरी अंकुरkecambah coklatਭੂਰੇ ਸਪਾਉਟபழுப்பு முளைகள்బ్రౌన్ మొలకలుಕಂದು ಮೊಗ್ಗುಗಳುব্রাউন স্প্রাউটসબ્રાઉન સ્પ્રાઉટ્સChanna
Cowpeaलोबियाकावळ्याkacang tunggakਕਾਉਪੀਆக ow பியாకౌపీయాಕೌಪಿಯಾকাউপিકાઉપિયાlobiya kee sabjee
Cassava Leafकसावा पत्ताकासावा लीफDaun Singkongਕਸਾਵਾ ਪੱਤਾகசவா இலைకాసావా ఆకుಕಸಾವ ಎಲೆকাসাভা পাতাકાસાવા લીફkasaava patta
Collard Greensहरा कोलार्डएक जातीचा कोबी हिरव्या भाज्याSejenis sawiਕੌਲਾਰਡ ਗ੍ਰੀਨਜ਼கொலார்ட் பசுமைకొల్లార్డ్ గ్రీన్స్ಹಸಿರು ಸೊಪ್ಪುকলার্ড গ্রিনসલીલા પાંદડા વાડી એક શાકભાજીhara kolaard
Celery / Parselyअजवाइन / अजमोदभाजी किंवा कोशिंबीर बनवण्यासाठी उपयुक्त अशी एक वनस्पती / पार्सेलीSeledri / Parselyਸੈਲਰੀ / ਪਾਰਸਲੀசெலரி / பார்சலிసెలెరీ / పార్సిలీಸೆಲರಿ / ಪಾರ್ಸಿಲಿসেলারি / পার্সেলিસેલરિ / પાર્સલીajamoda
Cabbageपत्ता गोभीकोबीKubisਪੱਤਾਗੋਭੀமுட்டைக்கோஸ்క్యాబేజీಎಲೆಕೋಸುবাঁধাকপিકોબીPatta gobhi, paat gobhi
CarrotगाजरगाजरWortelਗਾਜਰகேரட்కారెట్ಕ್ಯಾರೆಟ್গাজরગાજરGajar
Capsicum, green bell pepperशिमला मिर्च, हरी शिमला मिर्चशिमला मिरची, हिरवी मिरचीCapsicum, paprika hijauਕੈਪਸਿਕਮ, ਹਰੀ ਘੰਟੀ ਮਿਰਚகேப்சிகம், பச்சை மணி மிளகுక్యాప్సికమ్, గ్రీన్ బెల్ పెప్పర్ಕ್ಯಾಪ್ಸಿಕಂ, ಹಸಿರು ಬೆಲ್ ಪೆಪರ್ক্যাপসিকাম, সবুজ বেল মরিচકેપ્સિકમ, લીલી ઘંટડી મરીShimla mirch
CauliflowerगोभीफुलकोबीKol bungaਫੁੱਲ ਗੋਭੀகாலிஃபிளவர்కాలీఫ్లవర్ಹೂಕೋಸುফুলকপিકોબીજPhool gobi
Cluster beansगँवार फलीक्लस्टर सोयाबीनचेKacang clusterਕਲੱਸਟਰ ਬੀਨਜ਼கிளஸ்டர் பீன்ஸ்క్లస్టర్ బీన్స్ಕ್ಲಸ್ಟರ್ ಬೀನ್ಸ್গুচ্ছ মটরশুটিક્લસ્ટર કઠોળGavar / Gawar / Gaur Phali
CoconutनारियलनारळKelapaਨਾਰੀਅਲதேங்காய்కొబ్బరిತೆಂಗಿನ ಕಾಯಿনারকেলનાળિયેરNariyal
Coriander cilantro leavesधनिया धनिया पत्तेकोथिंबीर कोथिंबीर सोडतेDaun ketumbar ketumbarਧਨੀਏ ਦੀ ਦਲੀਆ ਛੱਡਦੀ ਹੈகொத்தமல்லி கொத்தமல்லி இலைகள்కొత్తిమీర కొత్తిమీర ఆకులుಕೊತ್ತಂಬರಿ ಕೊತ್ತಂಬರಿ ಸೊಪ್ಪುধনে ধনেপাতা ছেড়ে দেয়કોથમીર પીસેલા છોડે છેDhania patta
Cornमक्काकॉर्नJagungਮਕਈசோளம்మొక్కజొన్నಜೋಳকর্নમકાઈMakai, bhutta
CucumberWhiteककड़ी सफेदकाकडी व्हाइटTimunPutihਖੀਰੇவெள்ளரிக்காய் வெள்ளைదోసకాయ వైట్ಸೌತೆಕಾಯಿ ವೈಟ್শসাবিহাইটકાકડી વ્હાઇટkheera sephed white
CucumberखीराकाकडीTimunਖੀਰਾவெள்ளரிக்காய்దోసకాయಸೌತೆಕಾಯಿশসাકાકડીKheera
Curry leavesकरी पत्तेकढीपत्ताdaun kariਕਰੀ ਪੱਤੇகறிவேப்பிலைకరివేపాకుಕರಿಬೇವುকারি পাতাમીઠો લીંબડોKadi patta
DillदिलबडीशेपDilਡਿਲவெந்தயம்మెంతులుಸಬ್ಬಸಿಗೆডিলસુવાદાણાSuwa, savaa
Drumsticksड्रमस्टिकड्रमस्टिकक्सStik drumਡਰੱਮਸਟਿਕਸமுருங்கைக்காய்డ్రమ్ స్టిక్స్ಡ್ರಮ್ ಸ್ಟಿಕ್ಗಳುড্রামস্টিকসડ્રમસ્ટિક્સSahjan ki phalli
Fenugreek leavesकसूरी मेथीमेथीची पानेDaun Fenugreekਮੇਥੀ ਛੱਡਦੀ ਹੈவெந்தயம் இலைகள்మెంతి ఆకులుಮೆಂತ್ಯ ಎಲೆಗಳುমেথি পাতাમેથીના પાનMethi
French beans, green beansफ्रेंच बीन्स, हरी बीन्सफ्रेंच बीन्स, हिरव्या सोयाबीनचेKacang Prancis, kacang hijauਫ੍ਰੈਂਚ ਬੀਨਜ਼, ਹਰੀ ਬੀਨਜ਼பிரஞ்சு பீன்ஸ், பச்சை பீன்ஸ்ఫ్రెంచ్ బీన్స్, గ్రీన్ బీన్స్ಫ್ರೆಂಚ್ ಬೀನ್ಸ್, ಹಸಿರು ಬೀನ್ಸ್ফ্রেঞ্চ মটরশুটি, সবুজ মটরশুটিફ્રેન્ચ કઠોળ, લીલો કઠોળFaras bean, sem
Groundnuts, Fresh Groundnutsमूंगफली, ताजी मूंगफलीशेंगदाणे, ताजे शेंगदाणेKacang Tanah, Kacang Tanah Segarਜ਼ਮੀਨਦੋਜ਼, ਤਾਜ਼ੇ ਜ਼ਮੀਨੀநிலக்கடலை, புதிய நிலக்கடலைవేరుశనగ, తాజా వేరుశనగನೆಲಗಡಲೆ, ತಾಜಾ ನೆಲಗಡಲೆশিমুন, নতুন গাছમગફળી, તાજી મગફળીtaajee moongaphalee
GarlicलहसुनलसूणBawang putihਲਸਣபூண்டுవెల్లుల్లిಬೆಳ್ಳುಳ್ಳಿরসুনલસણLahsun
GingerअदरकआलेJaheਅਦਰਕஇஞ்சிఅల్లంಶುಂಠಿআদাઆદુAdrak
Green chilliहरी मिर्चहिरवी मिरचीCabai hijauਹਰੀ ਮਿਰਚபச்சை மிளகாய்పచ్చిమిర్చిಹಸಿರು ಮೆಣಸಿನಕಾಯಿকাঁচা মরিচલીલા મરચાHari mirch
Indian squash, round melonभारतीय स्क्वैश, गोल तरबूजभारतीय स्क्वॅश, गोल खरबूजLabu India, melon bulatਭਾਰਤੀ ਸਕੁਐਸ਼, ਗੋਲ ਤਰਬੂਜஇந்திய ஸ்குவாஷ், சுற்று முலாம்பழம்ఇండియన్ స్క్వాష్, రౌండ్ పుచ్చకాయಭಾರತೀಯ ಸ್ಕ್ವ್ಯಾಷ್, ರೌಂಡ್ ಕಲ್ಲಂಗಡಿভারতীয় স্কোয়াশ, গোল তরমুজભારતીય સ્ક્વોશ, રાઉન્ડ તરબૂચTinda
JackfruitकटहलफणसNangkaਜੈਕਫ੍ਰੂਟபலாப்பழம்జాక్‌ఫ్రూట్ಜಾಕ್ ಫ್ರೂಟ್কাঁঠালજેકફ્રૂટKathal
Water Spinachपानी पालकपाणी पालकBayam airਵਾਟਰ ਪਾਲਕநீர் கீரைనీటి బచ్చలికూరನೀರಿನ ಪಾಲಕপানি শাকપાણી પાલકWater Spinach
Lettuceसलादकोशिंबिरीसाठी वापरण्यात येणारा एक पाला व त्याचे झाडSeladaਸਲਾਦகீரைపాలకూరಲೆಟಿಸ್লেটুসલેટીસsalaad patta /lettuce
Lotus Stemकमल का तनाकमळ स्टेमBatang Terataiਕਮਲ ਸਟੈਮதாமரை தண்டுలోటస్ స్టెమ్ಕಮಲದ ಕಾಂಡলোটাস স্টেমકમળ સ્ટેમLotus Stem
Lime, lemonनीबूलिंबू, लिंबूJeruk nipis, lemonਚੂਨਾ, ਨਿੰਬੂசுண்ணாம்பு, எலுமிச்சைసున్నం, నిమ్మನಿಂಬೆ, ನಿಂಬೆচুন, লেবুચૂનો, લીંબુNimbu
Malabar spinachमालाबार पालकमलबार पालकbayam malabarਮਲਾਬਾਰ ਪਾਲਕமலபார் கீரைమలబార్ బచ్చలికూరಮಲಬಾರ್ ಪಾಲಕমালাবার পালংમલબાર પાલકPoi saag
MushroomमशरूममशरूमJamurਖੁੰਭகாளான்పుట్టగొడుగుಅಣಬೆমাশরুমમશરૂમKukkurmutta, khumb, guchhi
Mustard leavesसरसों के पत्तेमोहरीची पानेdaun sawiਰਾਈ ਦੇ ਪੱਤੇகடுகு இலைகள்ఆవాలు ఆకులుಸಾಸಿವೆ ಎಲೆಗಳುসরিষার পাতাસરસવના પાનSarson ka saag
Onionप्याजकांदाBawangਪਿਆਜவெங்காயம்ఉల్లిపాయಈರುಳ್ಳಿপেঁয়াজડુંગળીPyaaz
OnionSambharप्याज सांभरीकांदासंभरBawang Sambharਪਿਆਜ਼ ਸੰਮਬਰவெங்காயசம்பர்ఉల్లిపాయ సంభార్ಈರುಳ್ಳಿ ಸಂಭಾರ್পেঁয়াজসম্বরડુંગળી સંભારPyaaz sambhar
Okra, lady fingerभिंडी, भिंडीभेंडी, लेडी बोटOkra, jari wanitaਓਕਰਾ, ਲੇਡੀ ਫਿੰਗਰஓக்ரா, பெண் விரல்ఓక్రా, లేడీ ఫింగర్ಓಕ್ರಾ, ಲೇಡಿ ಫಿಂಗರ್ওকরা, ভদ্রমহিলাઓકરા, લેડી આંગળીBhindi
Flat green beansफ्लैट हरी बीन्सफ्लॅट हिरव्या सोयाबीनचेKacang hijau datarਫਲੈਟ ਹਰੇ ਬੀਨਜ਼தட்டையான பச்சை பீன்ஸ்ఫ్లాట్ గ్రీన్ బీన్స్ಚಪ್ಪಟೆ ಹಸಿರು ಬೀನ್ಸ್ফ্ল্যাট সবুজ মটরশুটিફ્લેટ લીલી કઠોળPapdi Sem ki phali
PeasमटरवाटाणेKacang polongਮਟਰபட்டாணிబటానీలుಬಟಾಣಿমটরવટાણાMatar, mutter
Mint leavesपुदीने की पत्तियांपुदीना पानेDaun mintਪੁਦੀਨੇ ਦੇ ਪੱਤੇபுதினா இலைகள்పుదీనా ఆకులుಪುದೀನ ಎಲೆಗಳುপুদিনাপাতাફુદીના ના પત્તાpudina patta
Pumpkinकद्दूभोपळाLabuਕੱਦੂபூசணிగుమ్మడికాయಕುಂಬಳಕಾಯಿকুমড়াકોળુKaddu
Potatoआलूबटाटाkentangਆਲੂஉருளைக்கிழங்குబంగాళాదుంపಆಲೂಗಡ್ಡೆআলুબટાટાAloo
RedBeansराजमाराजमाKacang merahਰੈਡਬੀਨਜ਼சிவப்பு பீன்ஸ்రాజ్మಕೆಂಪು ಬೀ ನ್ಸ್লাল বিচিરેડબીન્સRaajama
Radish, daikonमूली, डाइकोनोमुळा, डाईकनLobak, daikonਮੂਲੀ, ਡੇਕੋਨமுள்ளங்கி, டைகோன்ముల్లంగి, డైకాన్ಮೂಲಂಗಿ, ಡೈಕಾನ್মূলা, দাইকন onમૂળો, ડાઇકોનMooli
Radishpodsमूली फलीरॅडिशपॉड्सlobakਰੈਡੀਸ਼ਪੋਡਸமுள்ளங்கிముల్లంగిపాడ్లుಮೂಲಂಗಿRadishpodsમૂળાની પોડ્સMoongra, mogri
raw banana unripeकच्चा केला कच्चाकच्चा केळी कच्चाpisang mentah mentahਕੱਚੇ ਕੇਲੇ ਦੀ ਪਕੜமூல வாழைப்பழ பழுக்காதముడి అరటి పండనిಹಸಿ ಬಾಳೆ ಬಲಿಯದকাঁচা কলা unripeકાચા બનાના unripeKacha kela
Red Chiliलाल मिर्चलाल तिखटCabe merahਲਾਲ ਚਿੱਲੀசிவப்பு மிளகாய்ఎరుపు మిరపಕೆಂಪು ಮೆಣಸಿನಕಾಯಿলাল মরিচલાલ મરચુંLal mirch
Ridge gourdतोरईरिज लौकीlabu punggungਰਿਜ ਲੌਕੀரிட்ஜ் சுண்டைக்காய்రిడ్జ్ పొట్లకాయಹೀರೆಕಾಯಿঝিঙ্গেરીજ લોભીTurai, Tori, Turaiya
Shallotछोटे प्याज़शॅलोटbawang merahਸ਼ੱਲੀਟஷாலட்షాలోట్ಆಳಟ್শালোটશાલોટBarik Kande
Stinky Beansबदबूदार बीन्सदुर्गंधीयुक्त बीन्सKacang Bauਬਦਬੂਦਾਰ ਬੀਨਜ਼துர்நாற்றம் வீசும் பீன்ஸ்స్టింకీ బీన్స్ಸ್ಟಿಂಕಿ ಬೀನ್ಸ್দুর্গন্ধযুক্ত শিমસ્ટિન્કી બીન્સStinky Beans
Salam Leafसलाम पत्तासलाम लीफdaun salamਸਲਾਮ ਪੱਤਾசலாம் இலைసలాం లీఫ్ಸಲಾಮ್ ಲೀಫ್সালাম পাতাસલામ પર્ણSalam Leaf
Spring Onionsवसंत के प्याजवसंत ओनियन्सBawang merahਬਸੰਤ ਪਿਆਜ਼வசந்த வெங்காயம்ఉల్లి కాడలుಸ್ಪ್ರಿಂಗ್ ಈರುಳ್ಳಿবসন্ত পেঁয়াজવસંત ડુંગળીpyaaj patta
SproutअंकुरफुटणेTumbuhਫੁੱਟਣਾமுளைப்பயிர்మొలకెత్తండిಮೊಳಕೆফোটাફણગાવેankur / sprout
Snake gourdचिचिण्डासाप लौकीlabu ularਸੱਪ ਲੌਕੀபுடலங்காய்పాముకాయಹಾವಿನ ಸೋರೆಕಾಯಿচিচিঙ্গাસાપની લોટParora chichinda
Spinachपालकपालकbayamਪਾਲਕகீரைబచ్చలికూరಸೊಪ್ಪುপালংપાલકPalak
Sweet potatoशकरकंदरताळेUbiਮਿਠਾ ਆਲੂஇனிப்பு உருளைக்கிழங்குచిలగడదుంపಸಿಹಿ ಆಲೂಗಡ್ಡೆমিষ্টি আলুશક્કરિયાShakarkandi
TomatoटमाटरटोमॅटोTomatਟਮਾਟਰதக்காளிటమోటాಟೊಮೆಟೊটমেটোટામેટાTamatar
Taro rootsतारो जड़ेंतारो मुळेAkar talasਤਾਰੋ ਜੜ੍ਹਾਂடாரோ வேர்கள்టారో మూలాలుಟ್ಯಾರೋ ಬೇರುಗಳುতারো শিকড়તારો મૂળArbi
Ivy gourdआइवी लौकीआयवी लौकीlabu ivyਆਈਵੀ ਲੌਕੀஐவி சுண்டைக்காய்ఐవీ పొట్లకాయಐವಿ ಸೋರೆಕಾಯಿআইভী লাউઆઇવિ લોભીTendli
Turnipशलजमसलगम नावाच कंद व त्याचे झाडLobakਚਰਬੀடர்னிப்టర్నిప్ನವಿಲುಕೋಸುশালগমસલગમShalgam, shalzam
Elephant yamहाथी यामहत्ती यामubi gajahਹਾਥੀ ਯਮயானை யாம்ఏనుగు యమಆನೆ ಯಾಮ್হাতির ইয়ামહાથીની યામSooran, suran, jimikand
Vegetable names table in various languages

Also checkout https://sabziyaan.doableyo.com or https://sz.doableyo.com for easy creating for your offline shopping list items.

Thanks for reading & happy learning!