Skip to content

Commit

Permalink
New translations data.html (Chinese Traditional, Hong Kong)
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon committed Sep 12, 2023
1 parent f91f936 commit fb70318
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions lang/obf/zh_HK/texts/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ <h1>數據</h1>
<p>The Open Beauty Facts database is available under the <a href="https://opendatacommons.org/licenses/odbl/1.0/">Open Database License</a>.<br/>
The individual contents of the database are available under the <a href="https://opendatacommons.org/licenses/dbcl/1.0/">Database Contents License</a>.<br/>
Products images are available under the <a href="https://creativecommons.org/licenses/by-sa/3.0/deed.en">Creative Commons Attribution ShareAlike licence</a>.
They may contain graphical elements subject to copyright or other rights, that may in some cases be reproduced (quotation rights or fair use).
They may contain graphical elements subject to copyright or other rights, that may in some cases be reproduced (quotation rights or fair use).</p>

<p>Please read <a href="https://world.openbeautyfacts.org/terms-of-use">Terms and conditions of use and re-use</a> before re-using the data.</p>

<p>We are very interested in learning what the Open Beauty Facts data is used for. It is not mandatory, but we would very much appreciate it if you <a href="mailto:[email protected]?subject=Open%20Food%20Facts%20Data%20reuse">tell us about your re-uses</a> so that we can share them with the Open Beauty Facts community.</p>
<p>We are very interested in learning what the Open Beauty Facts data is used for. We are very interested in learning what the Open Beauty Facts data is used for. It is not mandatory, but we would very much appreciate it if you <a href="mailto:[email protected]?subject=Open%20Food%20Facts%20Data%20reuse">tell us about your re-uses</a> so that we can share them with the Open Beauty Facts community.</p>

<h2>Open Beauty Facts data exports</h2>

Expand All @@ -32,10 +33,13 @@ <h3>MongoDB dump</h3>

<h4>Delta Export</h4>

<p>Daily delta exports are provided for the previous 14 days. The list of currently available delta files can be found at
<p>Daily delta exports are provided for the previous 14 days. Daily delta exports are provided for the previous 14 days. The list of currently available delta files can be found at
<a href="https://static.openbeautyfacts.org/data/delta/index.txt">https://static.openbeautyfacts.org/data/delta/index.txt</a>.
Each line represents a file that is available at <code>https://static.openbeautyfacts.org/data/delta/{filename}</code>.
The filename contains UNIX timestamp of the first and the last change contained in the JSON file, so that the delta files can
be imported (after extraction) with <code>mongoimport</code> in alphabetical order.
Each line represents a file that is available at <code>https://static.openbeautyfacts.org/data/delta/{filename}</code>.
The filename contains UNIX timestamp of the first and the last change contained in the JSON file, so that the delta files can
be imported (after extraction) with <code>mongoimport</code> in alphabetical order.</p>
<p>Please note that due to the nature of <code>mongoexport</code>, the delta files cannot tell you about deleted products. To remove
deleted products from your database, you will need to import the full MongoDB dump. To remove
Expand Down Expand Up @@ -66,9 +70,9 @@ <h3>RDF Data Export</h3>

<h2>Live JSON API</h2>

The API behaves 99% like Open Food Facts, so many of the SDKs, codes to interact with the Open Food Facts API should work by merely changing the endpoint from: openfoodfacts.org to openbeautyfacts.org. The code hasn't been updated in over a year, so many of the newer APIs like Knowledge Panels are not available yet.
The API behaves 99% like Open Food Facts, so many of the SDKs, codes to interact with the Open Food Facts API should work by merely changing the endpoint from: openfoodfacts.org to openbeautyfacts.org. The code hasn't been updated in over a year, so many of the newer APIs like Knowledge Panels are not available yet. The code hasn't been updated in over a year, so many of the newer APIs like Knowledge Panels are not available yet.

<p>A JSON API is also available to read the data for a product. This API is in particular used in the Open Beauty Facts mobile app for iPhone and Android.</p>
<p>A JSON API is also available to read the data for a product. A JSON API is also available to read the data for a product. This API is in particular used in the Open Beauty Facts mobile app for iPhone and Android.</p>

<p>We change the API over-time but we are careful to keep backwards compatibility. Please tell us if you use it, so that we can tell you about potential changes. Please tell us if you use it, so that we can tell you about potential changes.</p>

Expand Down Expand Up @@ -100,14 +104,15 @@ <h2>Live JSON API</h2>
<h2>Android and iPhone mobile app (help needed!)</h2>

<p>The code for the Open Beauty Facts mobile app is available on GitHub (<a href="https://github.com/openfoodfacts/openfoodfacts-androidapp">Android</a> and <a href="https://github.com/openfoodfacts/openfoodfacts-ios">iOS</a>). <b>We need help to adapt the new native iOS code to cosmetics</b>
The app allows users to scan the barcode of products, to view the product information, and to take and send pictures and data for missing products. <b>We need help to adapt the new native iOS code to cosmetics</b>
The app allows users to scan the barcode of products, to view the product information, and to take and send pictures and data for missing products.</p>

<p>The app for Android is developed in Kotlin.</p>
<p>The new cross-platform app is developed in Flutter/Dart.</p>
<p>You are welcome to reuse the code (it's open source) and help us improve it, for everyone, on all the planet.

<h2>Wrappers and SDKs</h2>
<p>We probably have a wrapper for your favorite programming language. If we do, you can use it and improve it. If we don't, you can help create it. If we do, you can use it and improve it, and probably add Open Beauty Facts support to it. If we don't, you can help create it.</p>
<p>We probably have a wrapper for your favorite programming language. If we do, you can use it and improve it. If we don't, you can help create it. We probably have a wrapper for your favorite programming language. If we do, you can use it and improve it. If we don't, you can help create it. If we do, you can use it and improve it, and probably add Open Beauty Facts support to it. If we don't, you can help create it. If we don't, you can help create it.</p>
<p>They will let you consume data, as well as let your users contribute new data</p>
<ul>
<li>Cordova: <a href="https://github.com/openfoodfacts/openfoodfacts-cordova-app">GitHub (old Open Beauty Facts official app)</a></li>
Expand Down

0 comments on commit fb70318

Please sign in to comment.