KevinJump / OpeningSoon

Umbraco 7/8 Package for Opening Times
2 stars 4 forks source link

Adding a new language #5

Open loriRyanp opened 3 years ago

loriRyanp commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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