Skip to content

Instantly share code, notes, and snippets.

@qfarenwald
Last active December 16, 2019 21:37
Show Gist options
  • Save qfarenwald/6e22ff6edaba60a2f981444cf45ef4ce to your computer and use it in GitHub Desktop.
Save qfarenwald/6e22ff6edaba60a2f981444cf45ef4ce to your computer and use it in GitHub Desktop.

In as much detail as possible, explain how you would localize an application. https://instabug.com/blog/mobile-app-localization/

Localization is about adopting your product to meet the linguistic, cultural and other requirements of a specific target market.

Not to be confused with, internationalization, on the other hand, is a way to make localization process easier. It helps to consider different fonts, various screen sizes, and language orientation.

Localization is the process of customizing your app to work in other languages other than the default. Localization can include different spoken variations and dialects of the same language, which are referred to as locales.

Locales are a combination of the language and the country it’s spoken in. Think of English spoken in the United States versus Canada or the United Kingdom; or Spanish spoken in Spain, Mexico, and Argentina. Locales are most often named using two letters indicating the language, followed by two letters indicating the country. For example:

en_US: English — United States en_CA: English — Canada en_UK: English — United Kingdom

Steps: https://gist.github.com/qfarenwald/6e22ff6edaba60a2f981444cf45ef4ce/edit

  1. set strategy - decide how far you want your app to reach
  2. choose translators - inhouse, crowdsource, outsource
  3. internationalize - create some new setups... First, extract UI strings from your app code. Second, make multiple resource files, and translate the text in each file
  4. prepare reference materials - translation glossary and style guides
  5. use a translations management system, communicate with translators and test

EX. All projects so far localized for en_US: English... in html ??

Tell me two advantages of testing your code.

  1. Creates documentation of what code does
  2. Encourages writing of modular code b/c each test should test one thing
  3. Increases longevity of code / Early bug detection

Name three strategies for fixing cross-browser inconsistencies.

  1. Use cross-browser friendly libraries and frameworks
  2. Use Separate Stylesheets For Different Browsers
  3. Performing cross-browser testing (At LambdaTest, we provide you with a seamless framework to perform cross-browser compatibility of your application)
  4. Polyfills - capable of providing the functionalities that does not exist at all
  5. https://caniuse.com/

What are some tools and strategies you use to prevent shipping unstable code to production?

What factors influence whether you’ll take a progressive enhancement vs. graceful degradation approach to building an application?

Define the term ‘MVC’ and explain how an application is architected when following MVC patterns.

What does CORS stand for and what issue does it address?

In as much detail as possible, describe the request-response cycle.

Tell me 3 new features of CSS3.

Can you describe what responsive design is to you and how you would implement it?

What’s the difference between display: inline and display: inline-block?

What is a pseudo class? What are they used for?

Describe z-index and how stacking context is formed.

If you have two elements inside of an outer containing element, one with float: left; and the other with float: right, how can you ensure that the containing element expands around the floated elements and does not collapse?

Why is it, in general, a good idea to leave the global scope of a website as-is and never touch it?

What does event bubbling or event propagation mean?

What’s the difference between undefined and null

In as much detail as possible, explain how JSON Web Tokens work.

What is Ajax?

What is "use strict";? What are the advantages and disadvantages to using it?

Explain why the following doesn’t work as an IIFE: function foo(){ }();. What needs to be changed to properly make it an IIFE? Why?

What are the pros and cons of using Promises instead of callbacks?

What is a closure, and how/why would you use one?

What advantages does React offer? What about disadvantages?

Why is it generally a good idea to position CSS s between and JS <script>s just before ? Do you know any exceptions?

In an HTML file, what does the ‘doctype’ keyword do?

Give an example of a self-closing HTML tag.

What’s the difference between window.onload and onDocumentReady

Give an example of an element that is considered a ‘block-level’ element? An example of an inline element? What’s the difference between block-level and inline elements?

What could we use instead of tags for bold and tags for italics to make our HTML more semantic?

What is the purpose of article, section, header and footer tags? Please explain with an example and why we should not use divs.

What are HTML data attributes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment