DEV Community

Cover image for Day 5. Localization
Kiolk
Kiolk

Posted on • Edited on

Day 5. Localization

Today, I did less than I expected, and spent more time than planned. I'm noticing that the speed of development is decreasing. This may be a natural process, because at the start, development goes faster than after. 

What I did:

Today, I focused the ArticleItem UI implementation. I created a date converter for display on UI, also implemented logic for calculation of time since publication. While working on this, I noticed that data for display is slightly different from our model. I decided to keep a separate model for UI and added extra mapper. As a result, I keep all logic for preparing data outside the main thread. 

Secondly, I added the base logic for working with localization. After a brief research, I decided to use native localization implementation for both platform. Alternatively, there is a third-party library that helps to keep localization in shard module. At first glance, it seemed overcomplicated with its own plugin, files structure, and complex configuration. I didn't want to spend too much time configuring all of that. I did spend some extra time configuration platform specific dependencies for Koin but resolved this issue.
Example UI implementation

What I will do:

  • Implement ArticleItem view.
  • Added day/night theme support.
  • Update README file with description of project.
  • Create a GitHub project to manage the tasks for future collaboration.

If you want to join the project, just leave a comment here, or write a message in LinkedIn.

What help I'm looking for:

Designer (create design of application in Figma)
Android/KMM developer
Any other help related to the project.

My timeline:

Day 1. Deep breath and dive
Day 2. Networking layer.
Day 3. Loading of articles.
Day 4. ArticleItem.

See you tomorrow. 

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay