New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i18n(ar): Update nav.ts #7954
base: main
Are you sure you want to change the base?
i18n(ar): Update nav.ts #7954
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Thanks @wpplumber, I'll just ask you to update the format the file is on. As shown in the comment above this file: /**
* This configures the navigation sidebar.
* All other languages follow this ordering/structure and will fall back to
* English for any entries they haven’t translated.
*
* - All entries MUST include `text` and `key`
* - Heading entries MUST include `header: true` and `type`
* - Link entries MUST include `slug` (which excludes the language code)
*
* For translators:
*
* Copy the English `key` value unchanged and translate only the `text` into your language:
*
* `src/i18n/en/nav.ts`: `{ text: 'Getting Started', slug: 'getting-started', key: 'getting-started' },`
* `src/i18n/ja/nav.ts`: `'getting-started': 'はじめに',`
*/ It should go back to the format it had before but with the keys updated, like so: export default NavDictionary({
// Start Here
startHere: 'ابدأ هنا',
'getting-started': 'دليل البداية',
install: 'التثبيت',
'editor-setup': 'إعداد المحرر',
// (more keys...)
}); |
Welcome @yanthomasdev,
I think I'm using the latest format used in the English version! |
Hey @wpplumber, sorry if I wasn't clear. So, the format used in the English version is different because it has some additional metadata necessary to build the docs dashboard, those extra properties are not necessary in translations, and to avoid issues we ask for them to not be included in this case. With the Again, here's the comment example from the file:
Let me know if you have any issues making this change! |
This part has not been translated into Chinese. Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Small typo in the second bullet of the Table References section of the Astro-DB info @ line 112 Missing a 'to' between property and establish
Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
* i18n(es): update `5-astro-api` * fix: identation issue --------- Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* i18n(de): add svelte integration * Update src/content/docs/de/guides/integrations-guide/svelte.mdx Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com> * Update src/content/docs/de/guides/integrations-guide/svelte.mdx Co-authored-by: Because789 <hubiontheroad@yahoo.com> * Update src/content/docs/de/guides/integrations-guide/svelte.mdx Co-authored-by: Because789 <hubiontheroad@yahoo.com> * Update src/content/docs/de/guides/integrations-guide/svelte.mdx Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com> * Update src/content/docs/de/guides/integrations-guide/svelte.mdx Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com> * Update src/content/docs/de/guides/integrations-guide/svelte.mdx Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com> --------- Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com> Co-authored-by: Because789 <hubiontheroad@yahoo.com> Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
* i18n(zh-cn): Update `apostrophecms.mdx` * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/apostrophecms.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> --------- Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* i18n(fr): Add `guides/astro-db.mdx` Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Err content in `<Steps>` with tabs Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Err content in `<Steps>` with tabs Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Err content in `<Steps>` with tabs Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * i18n(fr): Fix links Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: pioupia <49518790+pioupia@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: pioupia <49518790+pioupia@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: pioupia <49518790+pioupia@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: pioupia <49518790+pioupia@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: pioupia <49518790+pioupia@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> * Update src/content/docs/fr/guides/astro-db.mdx Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com> --------- Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: pioupia <49518790+pioupia@users.noreply.github.com> Co-authored-by: McFlyPartages <44530252+McFlyPartages@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
* Update french `builderio.mdx` * Add buttercms.mdx * Update french contentful.mdx * Up french cosmic.mdx * Up french datocms.mdx * Up french decap-cms.mdx * Up french hygraph.mdx * Up french keystatic.mdx * Up french kontent-ai.mdx * Up French payload.mdx * Up french preprcms.mdx * Up french Sitecore.mdx * up french spinal.mdx * up storyblok.mdx * up french starpi.mdx * Up french tina-cms.mdx * Up french with PR withastro#8178 and withastro#8167 * Up french with PR withastro#8167 and withastro#8082 * try fix * try fix * try fix * Fix rendering issue * Fix all the remaining issues --------- Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
…8014 (__session) (withastro#8153) * i18n(fr): Update `guides/backend/google-firebase.mdx` from withastro#8014 (__session) Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> * Update src/content/docs/fr/guides/backend/google-firebase.mdx Co-authored-by: Luiz Ferraz <luiz@lferraz.com> --------- Signed-off-by: Thomas Bonnet <thomasbnt@protonmail.com> Co-authored-by: Luiz Ferraz <luiz@lferraz.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
…astro#8193) Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: liruifengv <liruifeng1024@gmail.com>
* i18n(zh-cn): Create `zerops.mdx` * i18n(zh-cn): Update `zerops.mdx` --------- Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* i18n(es): update `rss` * Add suggestion from Yan's review * Update src/content/docs/es/guides/rss.mdx Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> * adds steps as requested by Yan --------- Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
* Create astro-db.mdx WiP * Translated all astro-db * FIX wrong /en/ link * FIX: Broken links * FIX broken link * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> * FIX: Caps Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> * FIX: Enviar instead of Submit Thanks to Waxer59 Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> * FIX: Change Author by Autor Thanks to Waxer59 Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Thanks to Waxer59 Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> * Update src/content/docs/es/guides/astro-db.mdx Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> --------- Co-authored-by: Helmer <11061182+helmerdavila@users.noreply.github.com> Co-authored-by: Waxer59 <78129249+Waxer59@users.noreply.github.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
* i18n(zh-cn): Create `hashnode.mdx` * Update src/content/docs/zh-cn/guides/cms/hashnode.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * Update src/content/docs/zh-cn/guides/cms/hashnode.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> --------- Co-authored-by: liruifengv <liruifeng1024@gmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
* i18n(zh-cn): Create `umbraco.mdx` * Update src/content/docs/zh-cn/guides/cms/umbraco.mdx Co-authored-by: liruifengv <liruifeng1024@gmail.com> * i18n(zh-cn): Update `umbraco.mdx` --------- Co-authored-by: liruifengv <liruifeng1024@gmail.com> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
* Update deploy/vercel.mdx * Update vercel.mdx * Update src/content/docs/en/guides/deploy/vercel.mdx Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com> Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
…tro#8225) Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Co-authored-by: liruifengv <liruifeng1024@gmail.com>
Welcome @yanthomasdev, I made changes based on your review. |
Description (required)
I translated nav.ts.
Related issues & labels (optional)
First-time contributor to Astro Docs?
@tarik