I would like to share now an example for a real-life scenario and show how to apply the carpaccio technique for this scenario.
Our example case
Let's say we're working on an enterprise product. We started with one language in our UI - English. And now the company's salespersons say we're missing great deals due to our lack of support in a multi lingual interface. And now your PO asks your team to implement this new feature.
Let's try to think about this feature request. Where do we start? What is most important? And one of the most important questions of all - how long will it take?!
It's obvious we can't just run and implement such a feature because it probably requires some infrastructure to support a generic addition of new languages and most probably this addition of a new multi-language support will require a lot of changes in a lot of places.
Ask questions
A good start I found useful for me is to first ask questions. Many questions. It will be very beneficial to include a few people (at least the team and a product representative) in the discussions and let everybody ask questions. Here are some questions that you will probably want to answer before running and implementing the feature:
- Will the users of the product be able to change the language whenever they want? Or is it set on the system level for all users?
- Where in the UI will the user change the language?
- Do we need to support also things like error messages in our translations? Or is it ok to leave them in English?
- Should we support any RTL (Right-To-Left) languages?
- If we support RTL languages - should the entire UI be viewed in an RTL direction?
- Should the language selection be persisted or is it ok to always start a user session in English and allow the user to change?
Make assumptions
Asking these questions will help both product and R&D to understand where the value for this feature lies and what can be delayed for a later version/sprint.
After the value is clear, you can prioritize and create user stories. Each user story must deliver some value to the user and be estimated according to the efforts and risks that are assumed to be put into it:
Story #1 - Support Spanish in a specific UI menu:
- DoD (Definition of Done): The user will have a language selection list. When the user selects Spanish, a specific menu will be changed to Spanish
- Assumptions:
- The language is not persisted and the next time the user will log-in the system will be in English again.
- Only one menu should be translated when choosing Spanish
- Story points - 8: This is a hard story - we need to create the infrastructure.
- Tasks:
- Infrastructure design. (1 day - net, after design review and discussions)
- UI addition (0.5 day - just adding the language list widget is easy. It can be done while waiting for feedback on the design)
- Implementing infrastructure - storage of language codes, maybe failover (if a message doesn't exist in Spanish we'd like to fall back to English), a generic API for converting message codes to locale strings, etc... (4 days)
- Change the UI menu to use the converter API (0.5 day)
- Value: After this story there's a robust infrastructure and an already working spanish menu. The value addition is huge both in the user/product experience it adds and the easement of now changing other places.
Story #2 - Support Spanish in whole of the UI (No error support yet)
- DoD: All UI texts will be in spanish
- Assumptions:
- No support for errors (exceptions)
- Story points - 5: This is not hard but requires a lot of tedious work of replacing any string to the translation API call. This also requires a lot of time from QA to make sure everything is replaced correctly.
- Tasks: Just replacing string with the translated text (2 days + 3-4 QA days)
- Value: After this story we can see a UI that's in a different language and get the main multi-language experience.
Defining other languages
After the previous stories are done we can, in fact, add languages in a very low development (and even QA) costs. If the infrastructure is built correctly it will require no more then adding a file or a DB records with the translated strings. We can now choose 2 methods for splitting the stories:
- All other languages once - Due the easiness of adding a new language splitting each language to its own story would be an overhead so all the languages could be combined into a 2-3 story-points story. Better approach
- Adding languages one at a time - in case other languages are not given in advance, splitting the stories into 1 story-points stories is also fine.
Future features
After we finished the main feature, and we no longer loosing deals it's much easier to prioritize the remaining features like translating error codes, and support RTL and so on. We lowered the pressure from the business side, we provided a huge amount of value.
If these features that haven't made the cut are important enough - they will be waiting at the head of the backlog stack. If not, they will be pushed down the backlog which probably means that they were not that valuable to begin with.
This example is of course very specific and was born out of former projects I worked on. I hope I managed to give you the idea of how to do such tasks. Mastering Carpaccio takes time, but will benefit you a lot.
If these features that haven't made the cut are important enough - they will be waiting at the head of the backlog stack. If not, they will be pushed down the backlog which probably means that they were not that valuable to begin with.
This example is of course very specific and was born out of former projects I worked on. I hope I managed to give you the idea of how to do such tasks. Mastering Carpaccio takes time, but will benefit you a lot.
Find me on Twitter: @AviEtzioni
More interesting posts from this blog:
No comments:
Post a Comment