- JavaScript 100%
| languageData.js | ||
| README.md | ||
🌐 Portfolio Localization Data
This repository is dedicated solely to localization for tismatis.fr — a personal portfolio site and client panel created by Matis André.
⚠️ Important:
Do not modify or remove any file or variable unless you understand the integration.
This data is automatically fetched by the portfolio frontend through JSON.
📁 Purpose
This repository serves as a centralized source of localized strings and project metadata used by the portfolio website. It allows seamless support for multiple languages and ensures the content is properly translated for French and English users.
📚 Structure
1. data
This object stores translatable UI labels and messages. It is organized by language code (FR, EN) and key-value pairs:
data = {
"FR": {
"navHome": "Accueil",
...
},
"EN": {
"navHome": "Home",
...
}
}
2. fanta
A list of project entries shown in the portfolio. Each object includes:
- title
- img (thumbnail)
- languages (tags/tech stack)
- description (in both FR and EN)
- Optional link and linkDiscord
3. bob
A list of VRChat Avatars including:
- title
- img
- languages (tools used)
- link (optional)
🔧 Usage
Integration with Portfolio
The portfolio site dynamically loads this data using a language-detection function:
var LG = GetLanguageCode();
Then fetches the localized value:
function GetLanguageData(name) {
return data[LG][name];
}
🚫 Warnings
Do not rename or remove data, fanta, bob, or GetLanguageData. Do not change keys inside the data object unless reflected site-wide. New languages can be added by introducing another object (e.g., "DE") following the same format but you should contact me for add physically the button on the website.
✍️ Contributions
This repo is open to external contributions for fixes. For errors in translations or requests for additional languages, please do an fork & pull request.
📄 License
This repository is part of the Matis Projects ecosystem. All content is proprietary and usage is restricted to the author's personal portfolio and related tools.