Tracking terms is done by declaring them and the service they are associated with. Such a declaration is achieved by editing JSON files in the declarations
folder.
Before adding new terms, open the declarations
folder and check if the service you want to track terms for is already declared. If a JSON file with the name of the service is already present, you can jump straight to the Terms reference. Otherwise, keep reading!
Before declaring a service, you will need to choose the service name and service ID. The service ID will be the name of the JSON file in which the service will be declared. It is a normalised version of the service name.
The service name is exposed to end users. It should reflect as closely as possible the official service name, as referenced in the terms or โaboutโ pages, so that it can be recognised easily and unambiguously.
eBay
.hi5
.LINE
.App Store
.ัััั.ัั
(Cyrillic).ๆ้ณ็ญ่ง้ข
(Simplified Chinese characters).Booking.com
.historielรฆrer.dk
.Ads
(by Facebook) โ Facebook Ads
.Analytics
(by Google) โ Google Analytics
.Firebase
(by Google) โ Firebase
.App Store
(by Apple) โ App Store
.If you have a hard time finding the service name, check out the practical guidelines to find the service name, and feel free to mention your uncertainties in the pull request! We will help you improve the service name if necessary ๐
The service ID is exposed to developers. It should be easy to handle with scripts and other tools.
RTร
โ RTE
.historielรฆrer.dk
โ historielaerer.dk
.ัััั.ัั
โ tutu.ru
.ๆ้ณ็ญ่ง้ข
โ Douyin
.:
, /
, \
). These are replaced with a dash (-
). The dot (.
) is supported, but the service ID cannot be solely .
or ..
as these have specific meanings in the filesystem.Booking.com
โ Booking.com
.Yahoo!
โ Yahoo!
.re:start
โ re-start
.we://
โ we---
.App Store
โ App Store
.DeviantArt
โ DeviantArt
.If you have a hard time defining the service ID, check out the practical guidelines to derive the ID from the service name, and feel free to mention your uncertainties in the pull request! We will help you improve the service ID if necessary ๐
More details on the ID and naming constraints and recommendations can be found in the relevant decision record.
Once you have the service name and the service ID, create a JSON file in the declarations
folder named after the ID of the service you want to add, with the following structure:
{
"name": "<service name>",
"documents": {}
}
Within the documents
JSON object, you will now declare terms.