Skip to content
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

Adding a new language #5

Open
loriRyanp opened this issue Feb 3, 2021 · 3 comments
Open

Adding a new language #5

loriRyanp opened this issue Feb 3, 2021 · 3 comments

Comments

@loriRyanp
Copy link

loriRyanp commented Feb 3, 2021

Just trying to add a new language into the opening hours.
Ive created a new xml file in the language folder called ga.xml for Irish support - however it doesnt seem to be getting picked up. What else do I have to do?
Thanks in advance.


<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<language>
  <area alias="openingsoon">
    <key alias="monday">Dé Luain</key>
    <key alias="tuesday"> Dé Máirt</key>
    <key alias="wednesday"> Dé Céadaoin</key>
    <key alias="thursday">Déardaoin</key>
    <key alias="friday">Dé hAoine</key>
    <key alias="saturday">Dé Sathairn</key>
    <key alias="sunday">Dé Domhnaigh</key>
    <key alias="until">go dtí</key>
    <key alias="and">agus</key>
    <key alias="notScheduled">nach Sceidealta</key>
    <key alias="clearAll">soiléir ar fad</key>
    <key alias="autofill">Autofill</key>
  </area>
</language>

Am using Umbraco version 8.6.4
@KevinJump
Copy link
Owner

Hi,

with language files it usally takes a hard restart of a site, for the language files to be reloaded. im not 100% sure on how Umbraco

also its been a while since i've looked at this package but i think you need to resave the content for the changes in day names to make it to the front end.

@loriRyanp
Copy link
Author

Am running it on my local have restarted the project several times just cant get it to pick up a language. Ive also edited the default language and doesnt seem to pick up the change.

@KevinJump
Copy link
Owner

Yeah looks like we didn't migrate that bit from v7 😞 - I need to look at updating the localization code a little.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants