public interface GuideLocalizationService
| Modifier and Type | Method and Description |
|---|---|
void |
createDictionary(Resource guideContainerResource)
Creates dictionary nodes for a guide container resource.
|
JSONObject |
createDictionaryWithFragmentContent(Resource containerResource)
Create a dictionary with all the referencing Adaptive Forms Fragments included as well
This would create dictionary for all the locales in
GuideLocalizationService |
JSONObject |
createDictionaryWithFragmentContent(Resource containerResource,
java.util.List localeList)
Create a dictionary with all the referencing Adaptive Forms Fragments included as well
for the list of locales provided
|
JSONObject |
createDictionaryWithFragmentContent(Resource containerResource,
java.lang.String locale)
Create a dictionary with all the referencing Adaptive Forms Fragments included as well
for the locale provided
|
JSONObject |
getAvailableLocales(Resource containerResource)
Get language codes for all the available dictionaries
|
java.util.Map<java.lang.String,java.lang.String> |
getLocaleTitleCodeMap()
Get Map of code and title of supported locales
|
java.lang.String[] |
getSupportedLocales()
Get a list of supported locales.
|
void |
updateDictionaryBaseName(Resource guideContainerResource)
Updates dictionary nodes to reflect the current guide container resource path in the base name.
|
void createDictionary(Resource guideContainerResource) throws GuideException
guideContainerResource - The guide container resource for which the dictionary is to be created.GuideExceptionvoid updateDictionaryBaseName(Resource guideContainerResource) throws GuideException
guideContainerResource - The guide container resource for which the dictionary is to be updated.GuideExceptionjava.util.Map<java.lang.String,java.lang.String> getLocaleTitleCodeMap()
java.lang.String[] getSupportedLocales()
JSONObject createDictionaryWithFragmentContent(Resource containerResource) throws GuideException
GuideLocalizationServicecontainerResource - GuideExceptionJSONObject createDictionaryWithFragmentContent(Resource containerResource, java.util.List localeList) throws GuideException
containerResource - localeList - GuideExceptionJSONObject createDictionaryWithFragmentContent(Resource containerResource, java.lang.String locale) throws GuideException
containerResource - locale - GuideExceptionJSONObject getAvailableLocales(Resource containerResource) throws GuideException
containerResource - GuideExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved