I had a problem today. I have some localization strings in my theme and I created a *.po file with poEdit.
poEdit created Entries like this:
But it didn't worked - no localization in my theme. I started debugging and found out that the correct entry has to be:
or i removed all comments like this:
because Orchard searchs for a key like this: "~/Themes/Bootstrap/Views/Orchard.Search/Search/Index.cshtml|Search" or in the next step for a key like "|Search".
I am prefering the first option, but I wasn't able to config poEdit in a way to do it automatically. Now my Questions:
- Does anyone know how I am able to use poEdit for the first entry?
- How was it intended form the Orchard devs ? (first or second entry in themes?)