code: private TranslatedTopicWrapper createDummyTranslatedTopicFromTopic(final TopicWrapper topic, final LocaleWrapper locale) {
          final TranslatedTopicWrapper pushedTranslatedTopic = EntityUtilities.returnPushedTranslatedTopic(topic);
  
          /*
           * Try and use the untranslated default locale translated topic as the base for the dummy topic. If that fails then
           * create a dummy topic from the passed RESTTopicV1.
           */
          if (pushedTranslatedTopic != null) {
              pushedTranslatedTopic.setTopic(topic);
              pushedTranslatedTopic.setTags(topic.getTags());
              pushedTranslatedTopic.setProperties(topic.getProperties());
              return createDummyTranslatedTopicFromExisting(pushedTranslatedTopic, locale);
          } else {
              return createDummyTranslatedTopic(topic, locale);
          }
      }
docs: Creates a dummy translated topic so that a book can be built using the same relationships as a normal build.
  
  @param topic  The topic to create the dummy topic from.
  @param locale The locale to build the dummy translations for.
  @return The dummy translated topic.