Scalable translation #1

Open
opened 2024-10-16 22:10:31 +07:00 by Arsen Mirzaev Tatyano-Muradovich · 0 comments

Task

  1. ArangoDB database must have a "text" collection that will contain all text data used in the interface
  2. Create a text.php model implementing the text class, which will contain the translate(string $label, language $language) method

Example of a document in the "text" collection

{
  "label" => "main_greeting",
  "value" => "Hello, %s",
  "language" => "en",
  "version" => "0.1.0"
}
## Task 1. ArangoDB database must have a "text" collection that will contain all text data used in the interface 2. Create a text.php model implementing the `text` class, which will contain the `translate(string $label, language $language)` method ## Example of a document in the "text" collection ```JSON { "label" => "main_greeting", "value" => "Hello, %s", "language" => "en", "version" => "0.1.0" } ```
Arsen Mirzaev Tatyano-Muradovich added the
Discussion
Feature
Result
Accepted
labels 2024-10-16 22:10:32 +07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mirzaev/huesos#1
No description provided.