Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xipasduarte authored Nov 8, 2022
1 parent ec8a0f5 commit ff5a87e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,12 @@ We add two new tables with the following schemas that contains all the translati
| ------------ | ---------- |
| `post_id` | Integer |
| `locale` | VARCHAR(5) |

### Translations Links

To know which entities are translations of any other entity, we add a meta to all entities that contains the original ID `ubb_source`. The original is the first post that was created, and can be in any langues. Although the site might have a given default language that is not required to be the language of all original posts/terms.

### Enforced restrictions

* Only one translation for a given `ubb_source` with the same locale (avoids multiple options for the same entity)

0 comments on commit ff5a87e

Please sign in to comment.