Get the writing direction. Some languages the text is from left to right and others from right to left. Some have top to bottom and bottom to top.
Depending on what the writing direction determines if a block of text is from left to right or right to left and that determines some properties to set when exporting to other formats or for displaying help inline in a plugin dialog.
Use Case
Janet is a developer writing a plugin for her language class. They are translating between English and Japanese. She wants to provide instructions for both users of her plugin. If she is able to determine the horizontal and vertical direction she can display the text direction correctly for help documentation and exporting documents.