主权项 |
1. A method of displaying data in a locale-specific format, the method comprising:
performing operations as follows on at least one processor: receiving, at a client of a computing platform, an output of a server of the computing platform based on definition of a mock object that specifies a data type, wherein the output of the server is indicative of first format information for the data type that is inaccessible to the client via the computing platform, and wherein the first format information is associated with a first locale; generating, at the client, a template comprising the first format information by extracting the first format information from the output of the server; receiving data for display in a user interface of the computing platform, wherein the data is of the data type; retrieving second format information for the data type wherein the second format information is associated with a second locale corresponding to a geographic location of the client that is different from a geographic location corresponding to the first locale; populating the template at the client based on the data, wherein, responsive to the populating, the template includes the first format information and the second format information for the data type; and providing the template including the first and second format information for display in the user interface of the computing platform. |